Lucene search

K
cveLinuxCVE-2024-41020
HistoryJul 29, 2024 - 2:15 p.m.

CVE-2024-41020

2024-07-2914:15:03
Linux
web.nvd.nist.gov
36
linux kernel
filelock
vulnerability
fcntl
close race
recovery
compat path
32-bit kernels

AI Score

6.6

Confidence

High

EPSS

0

Percentile

13.5%

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

filelock: Fix fcntl/close race recovery compat path

When I wrote commit 3cad1bc01041 (“filelock: Remove locks reliably when
fcntl/close race is detected”), I missed that there are two copies of the
code I was patching: The normal version, and the version for 64-bit offsets
on 32-bit kernels.
Thanks to Greg KH for stumbling over this while doing the stable
backport…

Apply exactly the same fix to the compat path for 32-bit kernels.

Affected configurations

Vulners
Node
linuxlinux_kernelRange2.6.134.19.319
OR
linuxlinux_kernelRange4.20.05.4.281
OR
linuxlinux_kernelRange5.5.05.10.223
OR
linuxlinux_kernelRange5.11.05.15.164
OR
linuxlinux_kernelRange5.16.06.1.102
OR
linuxlinux_kernelRange6.2.06.6.43
OR
linuxlinux_kernelRange6.7.06.9.12
OR
linuxlinux_kernelRange6.10.06.10.2
OR
linuxlinux_kernelRange6.11.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/locks.c"
    ],
    "versions": [
      {
        "version": "c293621bbf67",
        "lessThan": "a561145f3ae9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "4c43ad4ab416",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "911cc83e56a2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "53e21cfa68a7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "f4d0775c6e2f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "73ae349534eb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "5b0af8e4c70e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "ed898f9ca3fa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c293621bbf67",
        "lessThan": "f8138f2ad2f7",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/locks.c"
    ],
    "versions": [
      {
        "version": "2.6.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.319",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.281",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.223",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.164",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.102",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.43",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.12",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.2",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.6

Confidence

High

EPSS

0

Percentile

13.5%