{
  "threat_severity" : "Moderate",
  "public_date" : "2024-12-27T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: f2fs: fix null-ptr-deref in f2fs_submit_page_bio()",
    "id" : "2334375",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2334375"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-476",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nf2fs: fix null-ptr-deref in f2fs_submit_page_bio()\nThere's issue as follows when concurrently installing the f2fs.ko\nmodule and mounting the f2fs file system:\nKASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]\nRIP: 0010:__bio_alloc+0x2fb/0x6c0 [f2fs]\nCall Trace:\n<TASK>\nf2fs_submit_page_bio+0x126/0x8b0 [f2fs]\n__get_meta_page+0x1d4/0x920 [f2fs]\nget_checkpoint_version.constprop.0+0x2b/0x3c0 [f2fs]\nvalidate_checkpoint+0xac/0x290 [f2fs]\nf2fs_get_valid_checkpoint+0x207/0x950 [f2fs]\nf2fs_fill_super+0x1007/0x39b0 [f2fs]\nmount_bdev+0x183/0x250\nlegacy_get_tree+0xf4/0x1e0\nvfs_get_tree+0x88/0x340\ndo_new_mount+0x283/0x5e0\npath_mount+0x2b2/0x15b0\n__x64_sys_mount+0x1fe/0x270\ndo_syscall_64+0x5f/0x170\nentry_SYSCALL_64_after_hwframe+0x76/0x7e\nAbove issue happens as the biset of the f2fs file system is not\ninitialized before register \"f2fs_fs_type\".\nTo address above issue just register \"f2fs_fs_type\" at the last in\ninit_f2fs_fs(). Ensure that all f2fs file system resources are\ninitialized." ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-53221\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-53221\nhttps://lore.kernel.org/linux-cve-announce/2024122733-CVE-2024-53221-d8b2@gregkh/T" ],
  "name" : "CVE-2024-53221",
  "csaw" : false
}