CVE-2026-31477
linux linux kernel
Patch-Priorität
RegulärMit dem nächsten regulären Update beheben.
- CVSS
- 7,5
- Schweregrad
- 7,5
- EPSS
- 0,5 %
- Perzentil
- 44
- Aktiv ausgenutzt
- nicht bekannt
Die Ampel kombiniert CVSS (Schwere), EPSS (Ausnutzungswahrscheinlichkeit, FIRST) und den KEV-Katalog der CISA. Sie ersetzt keine eigene Bewertung. Mehr dazu im Glossar
Was muss ich tun?
in einfachen WortenWen betrifft das?
Alle, die Linux-Kernel nutzen.
Wie gefährlich ist das?
- Angreifbar über das Netz – auch aus dem Internet, wenn das Gerät oder der Dienst dort erreichbar ist.
- Dafür ist keine Anmeldung nötig.
- Niemand muss etwas anklicken.
Was tun?
- Beim nächsten regulären Update mitnehmen.
- Kernel-Update der Distribution installieren und neu starten – erst danach läuft der neue Kernel.
Automatisch aus CVSS-Vektor, KEV und EPSS erstellt – ersetzt nicht die Angaben des Herstellers. Begriffe erklärt
Beschreibung
NVDIn the Linux kernel, the following vulnerability has been resolved: ksmbd: fix memory leaks and NULL deref in smb2_lock() smb2_lock() has three error handling issues after list_del() detaches smb_lock from lock_list at no_check_cl: 1) If vfs_lock_file() returns an unexpected error in the non-UNLOCK path, goto out leaks smb_lock and its flock because the out: handler only iterates lock_list and rollback_list, neither of which contains the detached smb_lock. 2) If vfs_lock_file() returns -ENOENT in the UNLOCK path, goto out leaks smb_lock and flock for the same reason. The error code returned to the dispatcher is also stale. 3) In the rollback path, smb_flock_init() can return NULL on allocation failure. The result is dereferenced unconditionally, causing a kernel NULL pointer dereference. Add a NULL check to prevent the crash and clean up the bookkeeping; the VFS lock itself cannot be rolled back without the allocation and will be released at file or connection teardown. Fix cases 1 and 2 by hoisting the locks_free_lock()/kfree() to before the if(!rc) check in the UNLOCK branch so all exit paths share one free site, and by freeing smb_lock and flock before goto out in the non-UNLOCK branch. Propagate the correct error code in both cases. Fix case 3 by wrapping the VFS unlock in an if(rlock) guard and adding a NULL check for locks_free_lock(rlock) in the shared cleanup. Found via call-graph analysis using sqry.
- Hersteller / Produkt
- linux linux kernel
- Veröffentlicht
- 22.04.2026
- Geändert
- 12.11.2026
- CWE
- CWE-476
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updates der Hersteller
15- Ubuntu: USN-8665-1 – Linux kernel (Raspberry Pi) vulnerabilities 21.08.2026 · Kritisch · Patchday
- Ubuntu: USN-8619-1 – Linux kernel (HWE) vulnerabilities 28.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8595-3 – Linux kernel (AWS) vulnerabilities 28.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8574-3 – Linux kernel vulnerabilities 28.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8609-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8608-1 – Linux kernel (Azure FIPS) vulnerabilities 24.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8607-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8606-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8595-2 – Linux kernel (AWS) vulnerabilities 24.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8596-1 – Linux kernel (NVIDIA) vulnerabilities 23.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8595-1 – Linux kernel (Oracle) vulnerabilities 23.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8574-2 – Linux kernel vulnerabilities 23.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8574-1 – Linux kernel (GCP FIPS) vulnerabilities 21.07.2026 · Kritisch · Patchday
- Ubuntu: USN-8567-1 – Linux kernel vulnerabilities 20.07.2026 · Kritisch · Patchday
- Microsoft: Mariner 29.04.2026 · Hoch · Patchday
Quellen: NVD (NIST), CISA KEV, EPSS (FIRST.org), Hersteller und Behörden. Angaben ohne Gewähr.