{
  "threat_severity" : "Moderate",
  "public_date" : "2024-10-21T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: ext4: fix access to uninitialised lock in fc replay path",
    "id" : "2320481",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2320481"
  },
  "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" : "verified"
  },
  "cwe" : "CWE-908",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\next4: fix access to uninitialised lock in fc replay path\nThe following kernel trace can be triggered with fstest generic/629 when\nexecuted against a filesystem with fast-commit feature enabled:\nINFO: trying to register non-static key.\nThe code is fine but needs lockdep annotation, or maybe\nyou didn't initialize this object before use?\nturning off the locking correctness validator.\nCPU: 0 PID: 866 Comm: mount Not tainted 6.10.0+ #11\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-3-gd478f380-prebuilt.qemu.org 04/01/2014\nCall Trace:\n<TASK>\ndump_stack_lvl+0x66/0x90\nregister_lock_class+0x759/0x7d0\n__lock_acquire+0x85/0x2630\n? __find_get_block+0xb4/0x380\nlock_acquire+0xd1/0x2d0\n? __ext4_journal_get_write_access+0xd5/0x160\n_raw_spin_lock+0x33/0x40\n? __ext4_journal_get_write_access+0xd5/0x160\n__ext4_journal_get_write_access+0xd5/0x160\next4_reserve_inode_write+0x61/0xb0\n__ext4_mark_inode_dirty+0x79/0x270\n? ext4_ext_replay_set_iblocks+0x2f8/0x450\next4_ext_replay_set_iblocks+0x330/0x450\next4_fc_replay+0x14c8/0x1540\n? jread+0x88/0x2e0\n? rcu_is_watching+0x11/0x40\ndo_one_pass+0x447/0xd00\njbd2_journal_recover+0x139/0x1b0\njbd2_journal_load+0x96/0x390\next4_load_and_init_journal+0x253/0xd40\next4_fill_super+0x2cc6/0x3180\n...\nIn the replay path there's an attempt to lock sbi->s_bdev_wb_lock in\nfunction ext4_check_bdev_write_error().  Unfortunately, at this point this\nspinlock has not been initialized yet.  Moving it's initialization to an\nearlier point in __ext4_fill_super() fixes this splat." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "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" : "Will not fix",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-50014\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-50014\nhttps://lore.kernel.org/linux-cve-announce/2024102110-CVE-2024-50014-d684@gregkh/T" ],
  "name" : "CVE-2024-50014",
  "csaw" : false
}