GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel AF_ALG: missing SGL end-marker clearing lets a local user panic the host via sg_next() NULL dereference

CVSS 5.5CVE-2026-43043Kernel, userspace & hypervisorcurated

Impact

When a sendmsg() on an AF_ALG crypto socket fills a scatter/gather list exactly to MAX_SGL_ENTS, the last entry is flagged as the list end. A following sendmsg() chains a fresh list but never clears that stale end marker, so the crypto scatterwalk stops early, sg_next() returns NULL and the kernel dereferences it - an immediate panic. The trigger is a specific but entirely ordinary sequence of writes to a socket, so any local user able to open AF_ALG can take the whole machine down. On a GPU node that is expensive out of proportion to the bug: a panic kills every co-tenant job on the box, loses in-flight training state, and the node comes back only after a full reboot and GPU re-initialisation. AF_ALG is reachable from inside containers unless the socket family is explicitly blocked, which makes this a tenant-to-host availability boundary rather than an admin-only footgun.

Who can reach it

Local, authenticated: any unprivileged user or container process that can create an AF_ALG socket (socket(AF_ALG, ...)) and issue two sendmsg() calls. No special capability or device access is required.

What to do

Update to a stable kernel carrying the af_alg_alloc_tsgl() fix that unmarks the previous list's end on sg_chain(), then drain and reboot each node - the fix is in the kernel, not a loadable module, so there is no hot-patch path short of a vendor live-patch stream. Until the reboot window, the practical mitigation is to deny AF_ALG where it is not needed: block the socket family with a seccomp profile or a BPF/LSM policy on tenant workloads, since almost no GPU workload uses the kernel crypto userspace API directly.

References

Related entries

All Kernel, userspace & hypervisor entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.