{
  "threat_severity" : "Moderate",
  "public_date" : "2025-05-02T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: scsi: core: Remove the /proc/scsi/${proc_name} directory earlier",
    "id" : "2363767",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2363767"
  },
  "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"
  },
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nscsi: core: Remove the /proc/scsi/${proc_name} directory earlier\nRemove the /proc/scsi/${proc_name} directory earlier to fix a race\ncondition between unloading and reloading kernel modules. This fixes a bug\nintroduced in 2009 by commit 77c019768f06 (\"[SCSI] fix /proc memory leak in\nthe SCSI core\").\nFix the following kernel warning:\nproc_dir_entry 'scsi/scsi_debug' already registered\nWARNING: CPU: 19 PID: 27986 at fs/proc/generic.c:376 proc_register+0x27d/0x2e0\nCall Trace:\nproc_mkdir+0xb5/0xe0\nscsi_proc_hostdir_add+0xb5/0x170\nscsi_host_alloc+0x683/0x6c0\nsdebug_driver_probe+0x6b/0x2d0 [scsi_debug]\nreally_probe+0x159/0x540\n__driver_probe_device+0xdc/0x230\ndriver_probe_device+0x4f/0x120\n__device_attach_driver+0xef/0x180\nbus_for_each_drv+0xe5/0x130\n__device_attach+0x127/0x290\ndevice_initial_probe+0x17/0x20\nbus_probe_device+0x110/0x130\ndevice_add+0x673/0xc80\ndevice_register+0x1e/0x30\nsdebug_add_host_helper+0x1a7/0x3b0 [scsi_debug]\nscsi_debug_init+0x64f/0x1000 [scsi_debug]\ndo_one_initcall+0xd7/0x470\ndo_init_module+0xe7/0x330\nload_module+0x122a/0x12c0\n__do_sys_finit_module+0x124/0x1a0\n__x64_sys_finit_module+0x46/0x50\ndo_syscall_64+0x38/0x80\nentry_SYSCALL_64_after_hwframe+0x46/0xb0" ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-05-22T00:00:00Z",
    "advisory" : "RHSA-2024:3138",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "kernel-0:4.18.0-553.el8_10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-04-30T00:00:00Z",
    "advisory" : "RHSA-2024:2394",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-427.13.1.el9_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-04-30T00:00:00Z",
    "advisory" : "RHSA-2024:2394",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-427.13.1.el9_4"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "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" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-53140\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-53140\nhttps://lore.kernel.org/linux-cve-announce/2025050238-CVE-2023-53140-a5f2@gregkh/T" ],
  "name" : "CVE-2023-53140",
  "csaw" : false
}