{
  "cveId": "CVE-2022-50334",
  "url": "https://patchblox.com/security/cve/CVE-2022-50334",
  "summary": "CVE-2022-50334 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50334, released September 15, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  hugetlbfs: fix null-ptr-deref in hugetlbfs_parse...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()  Syzkaller reports a null-ptr-deref bug as follows: ====================================================== KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:hugetlbfs_parse_param\u002B0x1dd/0x8e0 fs/hugetlbfs/inode.c:1380 [...] Call Trace:  \u003CTASK\u003E  vfs_parse_fs_param fs/fs_context.c:148 [inline]  vfs_parse_fs_param\u002B0x1f9/0x3c0 fs/fs_context.c:129  vfs_parse_fs_string\u002B0xdb/0x170 fs/fs_context.c:191  generic_parse_monolithic\u002B0x16f/0x1f0 fs/fs_context.c:231  do_new_mount fs/namespace.c:3036 [inline]  path_mount\u002B0x12de/0x1e20 fs/namespace.c:3370  do_mount fs/namespace.c:3383 [inline]  __do_sys_mount fs/namespace.c:3591 [inline]  __se_sys_mount fs/namespace.c:3568 [inline]  __x64_sys_mount\u002B0x27f/0x300 fs/namespace.c:3568  do_syscall_x64 arch/x86/entry/common.c:50 [inline]  do_syscall_64\u002B0x35/0xb0 arch/x86/entry/common.c:80  entry_SYSCALL_64_after_hwframe\u002B0x63/0xcd  [...]  \u003C/TASK\u003E ======================================================  According to commit \u0022vfs: parse: deal with zero length string value\u0022, kernel will set the param-\u003Estring to null pointer in vfs_parse_fs_string() if fs string has zero length.  Yet the problem is that, hugetlbfs_parse_param() will dereference the param-\u003Estring, without checking whether it is a null pointer.  To be more specific, if hugetlbfs_parse_param() parses an illegal mount parameter, such as \u0022size=,\u0022, kernel will constructs struct fs_parameter with null pointer in vfs_parse_fs_string(), then passes this struct fs_parameter to hugetlbfs_parse_param(), which triggers the above null-ptr-deref bug.  This patch solves it by adding sanity check on param-\u003Estring in hugetlbfs_parse_param().",
  "published": "2025-09-15T15:15:45Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.0016,
  "epssPercentile": 0.05146,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50334",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50334",
      "released": "2025-09-15T15:15:45Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50334",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50334",
      "released": "2025-09-15T15:15:45Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50334",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50334",
      "released": "2025-09-15T15:15:45Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}