2084AI Security Observatory

CVE

CVE-2024-41049

CVE-2024-41049HIGH 7.0EPSS 21%

CNA description

In the Linux kernel, the following vulnerability has been resolved: filelock: fix potential use-after-free in posix_lock_inode Light Hsieh reported a KASAN UAF warning in trace_posix_lock_inode(). The request pointer had been changed earlier to point to a lock entry that was added to the inode's list. However, before the tracepoint could fire, another task raced in and freed that lock. Fix this by moving the tracepoint inside the spinlock, which should ensure that this doesn't happen.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.7, < 6.9.10Fixed in 6.9.10
  • ≥ 6.6, < 6.6.41Fixed in 6.6.41
  • ≥ 6.1.55, < 6.1.100Fixed in 6.1.100
  • ≥ 5.15.133, < 5.15.163Fixed in 5.15.163
  • ≥ 5.10.197, < 5.10.222Fixed in 5.10.222
  • ≥ 5.4.257, < 5.4.280Fixed in 5.4.280

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.