Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-27034
HistoryMay 01, 2024 - 1:15 p.m.

CVE-2024-27034

2024-05-0113:15:49
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
44
linux kernel
f2fs vulnerability
cve-2024-27034
cluster write
cp_rwsem
data corruption

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.1%

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

f2fs: compress: fix to cover normal cluster write with cp_rwsem

When we overwrite compressed cluster w/ normal cluster, we should
not unlock cp_rwsem during f2fs_write_raw_pages(), otherwise data
will be corrupted if partial blocks were persisted before CP & SPOR,
due to cluster metadata wasn’t updated atomically.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.65.15.153
OR
linuxlinux_kernelRange5.16.06.1.83
OR
linuxlinux_kernelRange6.2.06.6.23
OR
linuxlinux_kernelRange6.7.06.7.11
OR
linuxlinux_kernelRange6.8.06.8.2
OR
linuxlinux_kernelRange6.9.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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/f2fs/compress.c",
      "fs/f2fs/data.c"
    ],
    "versions": [
      {
        "version": "4c8ff7095bef",
        "lessThan": "7d420eaaa18e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4c8ff7095bef",
        "lessThan": "542c8b3c774a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4c8ff7095bef",
        "lessThan": "75abfd61392b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4c8ff7095bef",
        "lessThan": "2b1b14d9fc94",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4c8ff7095bef",
        "lessThan": "52982edfcefd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4c8ff7095bef",
        "lessThan": "fd244524c2cf",
        "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/f2fs/compress.c",
      "fs/f2fs/data.c"
    ],
    "versions": [
      {
        "version": "5.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.153",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.83",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.23",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.11",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.2",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.1%