CVE-2023-53796 (GCVE-0-2023-53796)

Vulnerability from cvelistv5 – Published: 2025-12-09 00:00 – Updated: 2025-12-09 00:00
VLAI?
Summary
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix information leak in f2fs_move_inline_dirents() When converting an inline directory to a regular one, f2fs is leaking uninitialized memory to disk because it doesn't initialize the entire directory block. Fix this by zero-initializing the block. This bug was introduced by commit 4ec17d688d74 ("f2fs: avoid unneeded initializing when converting inline dentry"), which didn't consider the security implications of leaking uninitialized memory to disk. This was found by running xfstest generic/435 on a KMSAN-enabled kernel.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < 4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7 (git)
Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < a6807ef0f3b3d8508d3b07a2e35de8a91820a014 (git)
Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < 2bef8314fcf94ddc27e22d03f237c0fafd00de33 (git)
Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < 00b5587326625d0fddb2a5f5a3d4acd950102ace (git)
Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < 117d4f6687b1f74423b5d398ea95c63b262a8e73 (git)
Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < f07a8d61b6ea81bb3cbe0638af40f8824d6147fd (git)
Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < eebaecef0095bb8f493c03982da75c6e7bae1056 (git)
Affected: 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca , < 9a5571cff4ffcfc24847df9fd545cc5799ac0ee5 (git)
Create a notification for this product.
    Linux Linux Affected: 4.3
Unaffected: 0 , < 4.3 (semver)
Unaffected: 4.14.308 , ≤ 4.14.* (semver)
Unaffected: 4.19.276 , ≤ 4.19.* (semver)
Unaffected: 5.4.235 , ≤ 5.4.* (semver)
Unaffected: 5.10.173 , ≤ 5.10.* (semver)
Unaffected: 5.15.99 , ≤ 5.15.* (semver)
Unaffected: 6.1.16 , ≤ 6.1.* (semver)
Unaffected: 6.2.3 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/f2fs/inline.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            },
            {
              "lessThan": "a6807ef0f3b3d8508d3b07a2e35de8a91820a014",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            },
            {
              "lessThan": "2bef8314fcf94ddc27e22d03f237c0fafd00de33",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            },
            {
              "lessThan": "00b5587326625d0fddb2a5f5a3d4acd950102ace",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            },
            {
              "lessThan": "117d4f6687b1f74423b5d398ea95c63b262a8e73",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            },
            {
              "lessThan": "f07a8d61b6ea81bb3cbe0638af40f8824d6147fd",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            },
            {
              "lessThan": "eebaecef0095bb8f493c03982da75c6e7bae1056",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            },
            {
              "lessThan": "9a5571cff4ffcfc24847df9fd545cc5799ac0ee5",
              "status": "affected",
              "version": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/f2fs/inline.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.3"
            },
            {
              "lessThan": "4.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.308",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.173",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.308",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.276",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix information leak in f2fs_move_inline_dirents()\n\nWhen converting an inline directory to a regular one, f2fs is leaking\nuninitialized memory to disk because it doesn\u0027t initialize the entire\ndirectory block.  Fix this by zero-initializing the block.\n\nThis bug was introduced by commit 4ec17d688d74 (\"f2fs: avoid unneeded\ninitializing when converting inline dentry\"), which didn\u0027t consider the\nsecurity implications of leaking uninitialized memory to disk.\n\nThis was found by running xfstest generic/435 on a KMSAN-enabled kernel."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-09T00:00:52.919Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/a6807ef0f3b3d8508d3b07a2e35de8a91820a014"
        },
        {
          "url": "https://git.kernel.org/stable/c/2bef8314fcf94ddc27e22d03f237c0fafd00de33"
        },
        {
          "url": "https://git.kernel.org/stable/c/00b5587326625d0fddb2a5f5a3d4acd950102ace"
        },
        {
          "url": "https://git.kernel.org/stable/c/117d4f6687b1f74423b5d398ea95c63b262a8e73"
        },
        {
          "url": "https://git.kernel.org/stable/c/f07a8d61b6ea81bb3cbe0638af40f8824d6147fd"
        },
        {
          "url": "https://git.kernel.org/stable/c/eebaecef0095bb8f493c03982da75c6e7bae1056"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a5571cff4ffcfc24847df9fd545cc5799ac0ee5"
        }
      ],
      "title": "f2fs: fix information leak in f2fs_move_inline_dirents()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53796",
    "datePublished": "2025-12-09T00:00:52.919Z",
    "dateReserved": "2025-12-08T23:58:35.275Z",
    "dateUpdated": "2025-12-09T00:00:52.919Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53796\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-09T01:16:51.200\",\"lastModified\":\"2025-12-09T18:37:13.640\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nf2fs: fix information leak in f2fs_move_inline_dirents()\\n\\nWhen converting an inline directory to a regular one, f2fs is leaking\\nuninitialized memory to disk because it doesn\u0027t initialize the entire\\ndirectory block.  Fix this by zero-initializing the block.\\n\\nThis bug was introduced by commit 4ec17d688d74 (\\\"f2fs: avoid unneeded\\ninitializing when converting inline dentry\\\"), which didn\u0027t consider the\\nsecurity implications of leaking uninitialized memory to disk.\\n\\nThis was found by running xfstest generic/435 on a KMSAN-enabled kernel.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/00b5587326625d0fddb2a5f5a3d4acd950102ace\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/117d4f6687b1f74423b5d398ea95c63b262a8e73\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2bef8314fcf94ddc27e22d03f237c0fafd00de33\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9a5571cff4ffcfc24847df9fd545cc5799ac0ee5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a6807ef0f3b3d8508d3b07a2e35de8a91820a014\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/eebaecef0095bb8f493c03982da75c6e7bae1056\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f07a8d61b6ea81bb3cbe0638af40f8824d6147fd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…