CVE-2026-43043

crypto: af-alg - fix NULL pointer dereference in scatterwalk

MEDIUM
5.5
CVSS Score
Published: May 1, 2026 at 02:15 PM UTC
Updated: June 17, 2026 at 10:48 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.38 ≤ v < 5.10.2532.6.38 ≤ v < 5.15.2032.6.38 ≤ v < 6.1.1682.6.38 ≤ v < 6.12.812.6.38 ≤ v < 6.18.222.6.38 ≤ v < 6.19.122.6.38 ≤ v < 6.6.1342.6.38 ≤ v < 7.05.11 ≤ v < 5.15.2035.16 ≤ v < 6.1.1686.13 ≤ v < 6.18.226.19 ≤ v < 6.19.126.2 ≤ v < 6.6.1346.7 ≤ v < 6.12.812.6.387.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc68ff590903d5fc7f5a0a988c38267a3d08e6393a2
Vendor states this is fixed in 00cbdec17c15d024a1c5002c7365df7624a18a75 (fixed)
Vendor states this is fixed in 44eafa39363e8d5dfda6a8c6eb6b45458ed4b948 (fixed)
Vendor states this is fixed in 4b03ab0a587ec57eb7ddb5c115d84a42896f60f7 (fixed)
Vendor states this is fixed in 62397b493e14107ae82d8b80938f293d95425bcb (fixed)
Vendor states this is fixed in 7195350fb78538c25cd790d703f8f2c73ee0d395 (fixed)
Vendor states this is fixed in 7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49 (fixed)
Vendor states this is fixed in f48d3dd99199180cf37d6253550c55e86372309a (fixed)
Vendor states this is fixed in f9acceae7b004956851fd4268edf9f518a9bce04 (fixed)
Vendor states this is fixed in 2.6.38 (unaffected)
Vendor states this is fixed in 5.10.253 (unaffected)
Vendor states this is fixed in 5.15.203 (unaffected)
Vendor states this is fixed in 6.1.168 (unaffected)
Vendor states this is fixed in 6.12.81 (unaffected)
Vendor states this is fixed in 6.18.22 (unaffected)
Vendor states this is fixed in 6.19.12 (unaffected)
Vendor states this is fixed in 6.6.134 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card