CVE-2023-53565

Source
https://cve.org/CVERecord?id=CVE-2023-53565
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53565.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53565
Downstream
Published
2025-10-04T15:17:07.921Z
Modified
2026-03-11T21:36:48.751855Z
Summary
wifi: brcmfmac: Check for probe() id argument being NULL
Details

In the Linux kernel, the following vulnerability has been resolved:

wifi: brcmfmac: Check for probe() id argument being NULL

The probe() id argument may be NULL in 2 scenarios:

  1. brcmfpciepmleaveD3() calling brcmfpcieprobe() to reprobe the device.

  2. If a user tries to manually bind the driver from sysfs then the sdio / pcie / usb probe() function gets called with NULL as id argument.

  3. Is being hit by users causing the following oops on resume and causing wifi to stop working:

BUG: kernel NULL pointer dereference, address: 0000000000000018 <snip> Hardware name: Dell Inc. XPS 13 9350/0PWNCR, BIDS 1.13.0 02/10/2020 Workgueue: eventsunbound asyncrunentryfn RIP: 0010:brcmfpcieprobe+Ox16b/0x7a0 [brcmfmac] <snip> Call Trace: <TASK> brcmfpciepmleaveD3+0xc5/8x1a0 [brcmfmac be3b4cefca451e190fa35be8f00db1bbec293887] ? pcipmresume+0x5b/0xf0 ? pcilegacyresume+0x80/0x80 dpmruncallback+0x47/0x150 deviceresume+0xa2/0x1f0 asyncresume+0x1d/0x30 <snip>

Fix this by checking for id being NULL.

In the PCI and USB cases try a manual lookup of the id so that manually binding the driver through sysfs and more importantly brcmfpcieprobe() on resume will work.

For the SDIO case there is no helper to do a manual sdiodeviceid lookup, so just directly error out on a NULL id there.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53565.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
da6d9c8ecd00e20218461007948f2b0a8e7fa242
Fixed
84766e77a5c35e2b60e34f570c62fc97adc05e09
Fixed
60fc756fc8e6954a5618eecac73b255d651602e4

Affected versions

v6.*
v6.1
v6.1-rc8
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.3.1
v6.3.2
v6.3.3
v6.4-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53565.json"