{
  "cveId": "CVE-2023-54077",
  "url": "https://patchblox.com/security/cve/CVE-2023-54077",
  "summary": "CVE-2023-54077 is fixed in 20 products on 1 platform, first by ALAS2023-2023-184, released May 25, 2023. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  fs/ntfs3: Fix memory leak if ntfs_read_mft faile...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  fs/ntfs3: Fix memory leak if ntfs_read_mft failed  Label ATTR_ROOT in ntfs_read_mft() sets is_root = true and ni-\u003Eni_flags |= NI_FLAG_DIR, then next attr will goto label ATTR_ALLOC and alloc ni-\u003Edir.alloc_run. However two states are not always consistent and can make memory leak.   1) attr_name in ATTR_ROOT does not fit the condition it will set  is_root = true but NI_FLAG_DIR is not set.  2) next attr_name in ATTR_ALLOC fits the condition and alloc  ni-\u003Edir.alloc_run  3) in cleanup function ni_clear(), when NI_FLAG_DIR is set, it frees  ni-\u003Edir.alloc_run, otherwise it frees ni-\u003Efile.run  4) because NI_FLAG_DIR is not set in this case, ni-\u003Edir.alloc_run is  leaked as kmemleak reported:  unreferenced object 0xffff888003bc5480 (size 64):   backtrace:     [\u003C000000003d42e6b0\u003E] __kmalloc_node\u002B0x4e/0x1c0     [\u003C00000000d8e19b8a\u003E] kvmalloc_node\u002B0x39/0x1f0     [\u003C00000000fc3eb5b8\u003E] run_add_entry\u002B0x18a/0xa40 [ntfs3]     [\u003C0000000011c9f978\u003E] run_unpack\u002B0x75d/0x8e0 [ntfs3]     [\u003C00000000e7cf1819\u003E] run_unpack_ex\u002B0xbc/0x500 [ntfs3]     [\u003C00000000bbf0a43d\u003E] ntfs_iget5\u002B0xb25/0x2dd0 [ntfs3]     [\u003C00000000a6e50693\u003E] ntfs_fill_super\u002B0x218d/0x3580 [ntfs3]     [\u003C00000000b9170608\u003E] get_tree_bdev\u002B0x3fb/0x710     [\u003C000000004833798a\u003E] vfs_get_tree\u002B0x8e/0x280     [\u003C000000006e20b8e6\u003E] path_mount\u002B0xf3c/0x1930     [\u003C000000007bf15a5f\u003E] do_mount\u002B0xf3/0x110     ...  Fix this by always setting is_root and NI_FLAG_DIR together.",
  "published": "2023-05-25T17:41:00Z",
  "severity": "high",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
  "epss": 0.00178,
  "epssPercentile": 0.07399,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "bpftool",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "bpftool-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-aarch64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-x86_64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-headers",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-static",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-6.1.29-47.49",
      "release": "amzn 2023",
      "fixedVersion": "1.0-0.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.37-1",
      "fix": "DEBIAN-CVE-2023-54077",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-54077",
      "released": "2025-12-24T13:16:09Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.3.7-1",
      "fix": "DEBIAN-CVE-2023-54077",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-54077",
      "released": "2025-12-24T13:16:09Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.3.7-1",
      "fix": "DEBIAN-CVE-2023-54077",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-54077",
      "released": "2025-12-24T13:16:09Z"
    },
    {
      "platform": "linux",
      "product": "perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.29-47.49.amzn2023",
      "fix": "ALAS2023-2023-184",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-184",
      "released": "2023-05-25T17:41:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}