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

Vulnerability from cvelistv5 – Published: 2025-12-09 00:00 – Updated: 2026-05-11 19:51
VLAI
Title
f2fs: fix information leak in f2fs_move_inline_dirents()
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.
Impacted products
Vendor Product Version CPE status
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)
guessed 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)
guessed 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": "2026-05-11T19:51:41.550Z",
        "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": "2026-05-11T19:51:41.550Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-53796",
      "date": "2026-09-28",
      "epss": "0.0021",
      "percentile": "0.10082"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "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."
          }
        ],
        "id": "CVE-2023-53796",
        "lastModified": "2026-06-17T06:46:05.300",
        "metrics": {},
        "published": "2025-12-09T01:16:51.200",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "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"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:13:36+00:00",
      "cve": "CVE-2023-53796",
      "id": "CVE-2023-53796",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: f2fs: fix information leak in f2fs_move_inline_dirents()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-53796.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-05T17:02:17Z",
      "cve": "CVE-2023-53796",
      "id": "CVE-2023-53796",
      "initial_release_date": "2025-12-10T00:36:12Z",
      "product_status:known_not_affected": "555",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-53796",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-53796.json",
      "version": "19"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…