# CVE-2023-52578: net: bridge: use DEV\_STATS\_INC()

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.23% (percentile 9, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2024-03-02T21:59:45.921Z
- **Modified:** 2026-06-17T06:43:04.223Z

## Who should check

- Anyone running Linux \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< d2346e6beb699909ca455d9d20c4e577ce900839; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< ad8d39c7b437fcdab7208a6a56c093d222c008d5; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 04cc361f029c14dd067ad180525c7392334c9bfd; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 8bc97117b51d68d5cea8f5351cca2d8c4153f394; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 89f9f20b1cbd36d99d5a248a4bf8d11d4fd049a2; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< f2ef4cb4d418fa64fe73eb84d10cc5c0e52e00fa; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 44bdb313da57322c9b3c108eb66981c6ec6509f4
- Anyone running Linux 2.6.17

## Description

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

net: bridge: use DEV\_STATS\_INC()

syzbot/KCSAN reported data-races in br\_handle\_frame\_finish() \[1\]
This function can run from multiple cpus without mutual exclusion.

Adopt SMP safe DEV\_STATS\_INC() to update dev-\>stats fields.

Handles updates to dev-\>stats.tx\_dropped while we are at it.

\[1\]
BUG: KCSAN: data-race in br\_handle\_frame\_finish / br\_handle\_frame\_finish

read-write to 0xffff8881374b2178 of 8 bytes by interrupt on cpu 1:
br\_handle\_frame\_finish+0xd4f/0xef0 net/bridge/br\_input.c:189
br\_nf\_hook\_thresh+0x1ed/0x220
br\_nf\_pre\_routing\_finish\_ipv6+0x50f/0x540
NF\_HOOK include/linux/netfilter.h:304 \[inline\]
br\_nf\_pre\_routing\_ipv6+0x1e3/0x2a0 net/bridge/br\_netfilter\_ipv6.c:178
br\_nf\_pre\_routing+0x526/0xba0 net/bridge/br\_netfilter\_hooks.c:508
nf\_hook\_entry\_hookfn include/linux/netfilter.h:144 \[inline\]
nf\_hook\_bridge\_pre net/bridge/br\_input.c:272 \[inline\]
br\_handle\_frame+0x4c9/0x940 net/bridge/br\_input.c:417
\_\_netif\_receive\_skb\_core+0xa8a/0x21e0 net/core/dev.c:5417
\_\_netif\_receive\_skb\_one\_core net/core/dev.c:5521 \[inline\]
\_\_netif\_receive\_skb+0x57/0x1b0 net/core/dev.c:5637
process\_backlog+0x21f/0x380 net/core/dev.c:5965
\_\_napi\_poll+0x60/0x3b0 net/core/dev.c:6527
napi\_poll net/core/dev.c:6594 \[inline\]
net\_rx\_action+0x32b/0x750 net/core/dev.c:6727
\_\_do\_softirq+0xc1/0x265 kernel/softirq.c:553
run\_ksoftirqd+0x17/0x20 kernel/softirq.c:921
smpboot\_thread\_fn+0x30a/0x4a0 kernel/smpboot.c:164
kthread+0x1d7/0x210 kernel/kthread.c:388
ret\_from\_fork+0x48/0x60 arch/x86/kernel/process.c:147
ret\_from\_fork\_asm+0x11/0x20 arch/x86/entry/entry\_64.S:304

read-write to 0xffff8881374b2178 of 8 bytes by interrupt on cpu 0:
br\_handle\_frame\_finish+0xd4f/0xef0 net/bridge/br\_input.c:189
br\_nf\_hook\_thresh+0x1ed/0x220
br\_nf\_pre\_routing\_finish\_ipv6+0x50f/0x540
NF\_HOOK include/linux/netfilter.h:304 \[inline\]
br\_nf\_pre\_routing\_ipv6+0x1e3/0x2a0 net/bridge/br\_netfilter\_ipv6.c:178
br\_nf\_pre\_routing+0x526/0xba0 net/bridge/br\_netfilter\_hooks.c:508
nf\_hook\_entry\_hookfn include/linux/netfilter.h:144 \[inline\]
nf\_hook\_bridge\_pre net/bridge/br\_input.c:272 \[inline\]
br\_handle\_frame+0x4c9/0x940 net/bridge/br\_input.c:417
\_\_netif\_receive\_skb\_core+0xa8a/0x21e0 net/core/dev.c:5417
\_\_netif\_receive\_skb\_one\_core net/core/dev.c:5521 \[inline\]
\_\_netif\_receive\_skb+0x57/0x1b0 net/core/dev.c:5637
process\_backlog+0x21f/0x380 net/core/dev.c:5965
\_\_napi\_poll+0x60/0x3b0 net/core/dev.c:6527
napi\_poll net/core/dev.c:6594 \[inline\]
net\_rx\_action+0x32b/0x750 net/core/dev.c:6727
\_\_do\_softirq+0xc1/0x265 kernel/softirq.c:553
do\_softirq+0x5e/0x90 kernel/softirq.c:454
\_\_local\_bh\_enable\_ip+0x64/0x70 kernel/softirq.c:381
\_\_raw\_spin\_unlock\_bh include/linux/spinlock\_api\_smp.h:167 \[inline\]
\_raw\_spin\_unlock\_bh+0x36/0x40 kernel/locking/spinlock.c:210
spin\_unlock\_bh include/linux/spinlock.h:396 \[inline\]
batadv\_tt\_local\_purge+0x1a8/0x1f0 net/batman-adv/translation-table.c:1356
batadv\_tt\_purge+0x2b/0x630 net/batman-adv/translation-table.c:3560
process\_one\_work kernel/workqueue.c:2630 \[inline\]
process\_scheduled\_works+0x5b8/0xa30 kernel/workqueue.c:2703
worker\_thread+0x525/0x730 kernel/workqueue.c:2784
kthread+0x1d7/0x210 kernel/kthread.c:388
ret\_from\_fork+0x48/0x60 arch/x86/kernel/process.c:147
ret\_from\_fork\_asm+0x11/0x20 arch/x86/entry/entry\_64.S:304

value changed: 0x00000000000d7190 -\> 0x00000000000d7191

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 14848 Comm: kworker/u4:11 Not tainted 6.6.0-rc1-syzkaller-00236-gad8a69f361b9 \#0

## Affected and fixed versions

- Linux: \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< d2346e6beb699909ca455d9d20c4e577ce900839; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< ad8d39c7b437fcdab7208a6a56c093d222c008d5; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 04cc361f029c14dd067ad180525c7392334c9bfd; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 8bc97117b51d68d5cea8f5351cca2d8c4153f394; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 89f9f20b1cbd36d99d5a248a4bf8d11d4fd049a2; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< f2ef4cb4d418fa64fe73eb84d10cc5c0e52e00fa; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 44bdb313da57322c9b3c108eb66981c6ec6509f4 (cvelist)
- Linux: 2.6.17 (cvelist)

## Mitigation

- Upgrade Linux to 44bdb313da57322c9b3c108eb66981c6ec6509f4 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-52578. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52578.md
Affected: Linux >= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, < d2346e6beb699909ca455d9d20c4e577ce900839; >= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, < ad8d39c7b437fcdab7208a6a56c093d222c008d5; >= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, < 04cc361f029c14dd067ad180525c7392334c9bfd; >= 1c29fc4989bc2a3838b2837…
Fixed in: Linux 04cc361f029c14dd067ad180525c7392334c9bfd, Linux 8bc97117b51d68d5cea8f5351cca2d8c4153f394, Linux 89f9f20b1cbd36d99d5a248a4bf8d11d4fd049a2, Linux 44bdb313da57322c9b3c108eb66981c6ec6509f4

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-52578 being exploited?

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

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

High: CVSS 7.0 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< d2346e6beb699909ca455d9d20c4e577ce900839; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< ad8d39c7b437fcdab7208a6a56c093d222c008d5; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 04cc361f029c14dd067ad180525c7392334c9bfd; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 8bc97117b51d68d5cea8f5351cca2d8c4153f394; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 89f9f20b1cbd36d99d5a248a4bf8d11d4fd049a2; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< f2ef4cb4d418fa64fe73eb84d10cc5c0e52e00fa; \>= 1c29fc4989bc2a3838b2837adc12b8aeb0feeede, \< 44bdb313da57322c9b3c108eb66981c6ec6509f4; Linux 2.6.17.

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

Yes. Fixed in Linux 04cc361f029c14dd067ad180525c7392334c9bfd, Linux 8bc97117b51d68d5cea8f5351cca2d8c4153f394, Linux 89f9f20b1cbd36d99d5a248a4bf8d11d4fd049a2, Linux 44bdb313da57322c9b3c108eb66981c6ec6509f4. Upgrade Linux to 44bdb313da57322c9b3c108eb66981c6ec6509f4 or later.

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

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/d2346e6beb699909ca455d9d20c4e577ce900839>
- patch: <https://git.kernel.org/stable/c/ad8d39c7b437fcdab7208a6a56c093d222c008d5>
- patch: <https://git.kernel.org/stable/c/04cc361f029c14dd067ad180525c7392334c9bfd>
- patch: <https://git.kernel.org/stable/c/8bc97117b51d68d5cea8f5351cca2d8c4153f394>
- patch: <https://git.kernel.org/stable/c/89f9f20b1cbd36d99d5a248a4bf8d11d4fd049a2>
- patch: <https://git.kernel.org/stable/c/f2ef4cb4d418fa64fe73eb84d10cc5c0e52e00fa>
- patch: <https://git.kernel.org/stable/c/44bdb313da57322c9b3c108eb66981c6ec6509f4>

## 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-52578>

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