# CVE-2023-52922: can: bcm: Fix UAF in bcm\_proc\_show()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-11-28T15:09:51.360Z
- **Modified:** 2026-08-05T09:12:02.475Z

## Who should check

- Anyone running Linux \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 11b8e27ed448baa385d90154a141466bd5e92f18; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 9b58d36d0c1ea29a9571e0222a9c29df0ccfb7ff; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 9533dbfac0ff7edd77a5fa2c24974b1d66c8b0a6; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< cf254b4f68e480e73dab055014e002b77aed30ed; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 3c3941bb1eb53abe7d640ffee5c4d6b559829ab3; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 995f47d76647708ec26c6e388663ad4f3f264787; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< dfd0aa26e9a07f2ce546ccf8304ead6a2914e8a7; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 55c3b96074f3f9b0aee19bf93cd71af7516582bb
- Anyone running Linux 2.6.25

## Description

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

can: bcm: Fix UAF in bcm\_proc\_show()

BUG: KASAN: slab-use-after-free in bcm\_proc\_show+0x969/0xa80
Read of size 8 at addr ffff888155846230 by task cat/7862

CPU: 1 PID: 7862 Comm: cat Not tainted 6.5.0-rc1-00153-gc8746099c197 \#230
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0xd5/0x150
 print\_report+0xc1/0x5e0
 kasan\_report+0xba/0xf0
 bcm\_proc\_show+0x969/0xa80
 seq\_read\_iter+0x4f6/0x1260
 seq\_read+0x165/0x210
 proc\_reg\_read+0x227/0x300
 vfs\_read+0x1d5/0x8d0
 ksys\_read+0x11e/0x240
 do\_syscall\_64+0x35/0xb0
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

Allocated by task 7846:
 kasan\_save\_stack+0x1e/0x40
 kasan\_set\_track+0x21/0x30
 \_\_kasan\_kmalloc+0x9e/0xa0
 bcm\_sendmsg+0x264b/0x44e0
 sock\_sendmsg+0xda/0x180
 \_\_\_\_sys\_sendmsg+0x735/0x920
 \_\_\_sys\_sendmsg+0x11d/0x1b0
 \_\_sys\_sendmsg+0xfa/0x1d0
 do\_syscall\_64+0x35/0xb0
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

Freed by task 7846:
 kasan\_save\_stack+0x1e/0x40
 kasan\_set\_track+0x21/0x30
 kasan\_save\_free\_info+0x27/0x40
 \_\_\_\_kasan\_slab\_free+0x161/0x1c0
 slab\_free\_freelist\_hook+0x119/0x220
 \_\_kmem\_cache\_free+0xb4/0x2e0
 rcu\_core+0x809/0x1bd0

bcm\_op is freed before procfs entry be removed in bcm\_release(),
this lead to bcm\_proc\_show() may read the freed bcm\_op.

## Affected and fixed versions

- Linux: \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 11b8e27ed448baa385d90154a141466bd5e92f18; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 9b58d36d0c1ea29a9571e0222a9c29df0ccfb7ff; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 9533dbfac0ff7edd77a5fa2c24974b1d66c8b0a6; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< cf254b4f68e480e73dab055014e002b77aed30ed; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 3c3941bb1eb53abe7d640ffee5c4d6b559829ab3; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 995f47d76647708ec26c6e388663ad4f3f264787; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< dfd0aa26e9a07f2ce546ccf8304ead6a2914e8a7; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 55c3b96074f3f9b0aee19bf93cd71af7516582bb (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- Upgrade Linux to 55c3b96074f3f9b0aee19bf93cd71af7516582bb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52922. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52922.md
Affected: Linux >= ffd980f976e7fd666c2e61bf8ab35107efd11828, < 11b8e27ed448baa385d90154a141466bd5e92f18; >= ffd980f976e7fd666c2e61bf8ab35107efd11828, < 9b58d36d0c1ea29a9571e0222a9c29df0ccfb7ff; >= ffd980f976e7fd666c2e61bf8ab35107efd11828, < 9533dbfac0ff7edd77a5fa2c24974b1d66c8b0a6; >= ffd980f976e7fd666c2e61b…
Fixed in: Linux 11b8e27ed448baa385d90154a141466bd5e92f18, Linux 9b58d36d0c1ea29a9571e0222a9c29df0ccfb7ff, Linux 9533dbfac0ff7edd77a5fa2c24974b1d66c8b0a6, Linux 3c3941bb1eb53abe7d640ffee5c4d6b559829ab3, Linux 995f47d76647708ec26c6e388663ad4f3f264787, Linux 55c3b96074f3f9b0aee19bf93cd71af7516582bb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52922 being exploited?

There is no confirmed exploitation: CVE-2023-52922 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52922?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52922?

Linux \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 11b8e27ed448baa385d90154a141466bd5e92f18; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 9b58d36d0c1ea29a9571e0222a9c29df0ccfb7ff; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 9533dbfac0ff7edd77a5fa2c24974b1d66c8b0a6; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< cf254b4f68e480e73dab055014e002b77aed30ed; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 3c3941bb1eb53abe7d640ffee5c4d6b559829ab3; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 995f47d76647708ec26c6e388663ad4f3f264787; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< dfd0aa26e9a07f2ce546ccf8304ead6a2914e8a7; \>= ffd980f976e7fd666c2e61bf8ab35107efd11828, \< 55c3b96074f3f9b0aee19bf93cd71af7516582bb; Linux 2.6.25.

### Is there a fix for CVE-2023-52922?

Yes. Fixed in Linux 11b8e27ed448baa385d90154a141466bd5e92f18, Linux 9b58d36d0c1ea29a9571e0222a9c29df0ccfb7ff, Linux 9533dbfac0ff7edd77a5fa2c24974b1d66c8b0a6, Linux 3c3941bb1eb53abe7d640ffee5c4d6b559829ab3, Linux 995f47d76647708ec26c6e388663ad4f3f264787, Linux 55c3b96074f3f9b0aee19bf93cd71af7516582bb. Upgrade Linux to 55c3b96074f3f9b0aee19bf93cd71af7516582bb or later.

### How do I check if I'm affected by CVE-2023-52922?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/11b8e27ed448baa385d90154a141466bd5e92f18>
- patch: <https://git.kernel.org/stable/c/9b58d36d0c1ea29a9571e0222a9c29df0ccfb7ff>
- patch: <https://git.kernel.org/stable/c/9533dbfac0ff7edd77a5fa2c24974b1d66c8b0a6>
- patch: <https://git.kernel.org/stable/c/cf254b4f68e480e73dab055014e002b77aed30ed>
- patch: <https://git.kernel.org/stable/c/3c3941bb1eb53abe7d640ffee5c4d6b559829ab3>
- patch: <https://git.kernel.org/stable/c/995f47d76647708ec26c6e388663ad4f3f264787>
- patch: <https://git.kernel.org/stable/c/dfd0aa26e9a07f2ce546ccf8304ead6a2914e8a7>
- patch: <https://git.kernel.org/stable/c/55c3b96074f3f9b0aee19bf93cd71af7516582bb>
- other: <https://allelesecurity.com/use-after-free-vulnerability-in-can-bcm-subsystem-leading-to-information-disclosure-cve-2023-52922/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52922>

HTML: <https://flawdb.com/CVE-2023-52922> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52922>
