CVE-2026-31477: In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix memory leaks and NULL deref in
CVE-2026-31477 is a high-severity flaw (CVSS 7.5) affecting linux kernel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In 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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2026-04-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31477?
linux kernel: upgrade to 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11. Exact commands for each OS are on this page.
Is CVE-2026-31477 being exploited?
CVE-2026-31477 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31477 affect?
CVE-2026-31477 affects linux kernel. Severity is high (CVSS 7.5). In 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
How urgent is CVE-2026-31477?
Priority 47/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-98141 MEDIUM 5.5 UPGRADE In the Linux kernel, the following vulnerability has been resolved: ntfs: propagate reparse index insertion f
- CVE-2026-64239 HIGH 7.8 UPGRADE In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: delete tried regi
- CVE-2026-64236 MEDIUM 5.5 UPGRADE In the Linux kernel, the following vulnerability has been resolved: i2c: davinci: fix division by zero on mis
- CVE-2026-98142 MEDIUM 5.5 UPGRADE In the Linux kernel, the following vulnerability has been resolved: drm/cirrus-qemu: Validate BAR0 size durin
- CVE-2026-98147 MEDIUM 5.5 UPGRADE In the Linux kernel, the following vulnerability has been resolved: printk: Don't WARN on kthread_run failure