CVE-2026-43043
MEDIUMLinux - NULL Pointer Dereference in AF_ALG Scatterwalk via SGL Chaining
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: crypto: af-alg - fix NULL pointer dereference in scatterwalk The AF_ALG interface fails to unmark the end of a Scatter/Gather List (SGL) when chaining a new af_alg_tsgl structure. If a sendmsg() fills an SGL exactly to MAX_SGL_ENTS, the last entry is marked as the end. A subsequent sendmsg() allocates a new SGL and chains it, but fails to clear the end marker on the previous SGL's last data entry. This causes the crypto scatterwalk to hit a premature end, returning NULL on sg_next() and leading to a kernel panic during dereference. Fix this by explicitly unmarking the end of the previous SGL when performing sg_chain() in af_alg_alloc_tsgl().
References (8)
Core 8
Core References
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
2.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (20)
Linux/Linux
< 2.6.38
Linux/Linux
2.6.38
Linux/Linux
5.10.253 - 5.10.*
Linux/Linux
5.15.203 - 5.15.*
Linux/Linux
6.1.168 - 6.1.*
Linux/Linux
6.12.81 - 6.12.*
Linux/Linux
6.18.22 - 6.18.*
Linux/Linux
6.19.12 - 6.19.*
Linux/Linux
6.6.134 - 6.6.*
Linux/Linux
7.0
... and 10 more
Published
May 01, 2026
Tracked Since
May 01, 2026