Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-53530

scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id()

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id() The following call trace was observed: localhost kernel: nvme nvme0: NVME-FC{0}: controller connect complete localhost kernel: BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u129:4/75092 localhost kernel: nvme nvme0: NVME-FC{0}: new ctrl: NQN "nqn.1992-08.com.netapp:sn.b42d198afb4d11ecad6d00a098d6abfa:subsystem.PR_Channel2022_RH84_subsystem_291" localhost kernel: caller is qla_nvme_post_cmd+0x216/0x1380 [qla2xxx] localhost kernel: CPU: 6 PID: 75092 Comm: kworker/u129:4 Kdump: loaded Tainted: G B W OE --------- --- 5.14.0-70.22.1.el9_0.x86_64+debug #1 localhost kernel: Hardware name: HPE ProLiant XL420 Gen10/ProLiant XL420 Gen10, BIOS U39 01/13/2022 localhost kernel: Workqueue: nvme-wq nvme_async_event_work [nvme_core] localhost kernel: Call Trace: localhost kernel: dump_stack_lvl+0x57/0x7d localhost kernel: check_preemption_disabled+0xc8/0xd0 localhost kernel: qla_nvme_post_cmd+0x216/0x1380 [qla2xxx] Use raw_smp_processor_id() instead of smp_processor_id(). Also use queue_work() across the driver instead of queue_work_on() thus avoiding usage of smp_processor_id() when CONFIG_DEBUG_PREEMPT is enabled.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 532a239605667320f4fd7473e416b718d0a2fbbb to < 1a541999f31fcb10ea50eba2a563e6c451fd5c7daffected
  • 35c02a333d523d9da0b482b0d751cdeb95c068ae to < 52c7b41ad6ee53222f4ee2f0c099a6ed8291a168affected
  • 1d201c81d4cc6840735bbcc99e6031503e5cf3b8 to < 25bd0c7def04a272f8e89b36971712fe29c6e438affected
  • 1d201c81d4cc6840735bbcc99e6031503e5cf3b8 to < 59f10a05b5c7b675256a66e3161741239889ff80affected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.5.5 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References