CVE-2024-27389CWE-415

CVE-2024-27389

High · published May 1, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

pstore: inode: Only d_invalidate() is needed

Unloading a modular pstore backend with records in pstorefs would

trigger the dput() double-drop warning:

WARNING: CPU: 0 PID: 2569 at fs/dcache.c:762 dput.part.0+0x3f3/0x410

Using the combo of d_drop()/dput() (as mentioned in

Documentation/filesystems/vfs.rst) isn't the right approach here, and

leads to the reference counting problem seen above. Use d_invalidate()

and update the code to not bother checking for error codes that can

never happen.

---

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00237 · 13.9th percentile
Weakness
CWE-415 · Double Free
Published
2024-05-01T17:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 5.8, < 6.1.836.1.83
linux/linux_kernel≥ 6.2, < 6.6.236.6.23
linux/linux_kernel≥ 6.7, < 6.7.116.7.11
linux/linux_kernel≥ 6.8, < 6.8.26.8.2
References (11)
EPSS history
Timeline
  • 01 MAY 13:05Z
    pstore: inode: Only d_invalidate() is needed
    cvelistv5