# CVE-2023-52784: bonding: stop the device in bond\_setup\_by\_slave()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-28)
- **Published:** 2024-05-21T15:31:02.362Z
- **Modified:** 2026-06-17T06:43:34.520Z

## Who should check

- Anyone running Linux \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< b4f0e605a508f6d7cda6df2f03a0c676b778b1fe; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 396baca6683f415b5bc2b380289387bef1406edc; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 53064e8239dd2ecfefc5634e991f1025abc2ee0c; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 19554aa901b5833787df4417a05ccdebf351b7f4; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 87c49806a37f88eddde3f537c162fd0c2834170c; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< d98c91215a5748a0f536e7ccea26027005196859; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 3cffa2ddc4d3fcf70cde361236f5a614f81a09b2
- Anyone running Linux 2.6.24

## Description

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

bonding: stop the device in bond\_setup\_by\_slave()

Commit 9eed321cde22 ("net: lapbether: only support ethernet devices")
has been able to keep syzbot away from net/lapb, until today.

In the following splat \[1\], the issue is that a lapbether device has
been created on a bonding device without members. Then adding a non
ARPHRD\_ETHER member forced the bonding master to change its type.

The fix is to make sure we call dev\_close() in bond\_setup\_by\_slave()
so that the potential linked lapbether devices (or any other devices
having assumptions on the physical device) are removed.

A similar bug has been addressed in commit 40baec225765
("bonding: fix panic on non-ARPHRD\_ETHER enslave failure")

\[1\]
skbuff: skb\_under\_panic: text:ffff800089508810 len:44 put:40 head:ffff0000c78e7c00 data:ffff0000c78e7bea tail:0x16 end:0x140 dev:bond0
kernel BUG at net/core/skbuff.c:192 !
Internal error: Oops - BUG: 00000000f2000800 \[\#1\] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 6007 Comm: syz-executor383 Not tainted 6.6.0-rc3-syzkaller-gbf6547d8715b \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : skb\_panic net/core/skbuff.c:188 \[inline\]
pc : skb\_under\_panic+0x13c/0x140 net/core/skbuff.c:202
lr : skb\_panic net/core/skbuff.c:188 \[inline\]
lr : skb\_under\_panic+0x13c/0x140 net/core/skbuff.c:202
sp : ffff800096a06aa0
x29: ffff800096a06ab0 x28: ffff800096a06ba0 x27: dfff800000000000
x26: ffff0000ce9b9b50 x25: 0000000000000016 x24: ffff0000c78e7bea
x23: ffff0000c78e7c00 x22: 000000000000002c x21: 0000000000000140
x20: 0000000000000028 x19: ffff800089508810 x18: ffff800096a06100
x17: 0000000000000000 x16: ffff80008a629a3c x15: 0000000000000001
x14: 1fffe00036837a32 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000201 x10: 0000000000000000 x9 : cb50b496c519aa00
x8 : cb50b496c519aa00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800096a063b8 x4 : ffff80008e280f80 x3 : ffff8000805ad11c
x2 : 0000000000000001 x1 : 0000000100000201 x0 : 0000000000000086
Call trace:
skb\_panic net/core/skbuff.c:188 \[inline\]
skb\_under\_panic+0x13c/0x140 net/core/skbuff.c:202
skb\_push+0xf0/0x108 net/core/skbuff.c:2446
ip6gre\_header+0xbc/0x738 net/ipv6/ip6\_gre.c:1384
dev\_hard\_header include/linux/netdevice.h:3136 \[inline\]
lapbeth\_data\_transmit+0x1c4/0x298 drivers/net/wan/lapbether.c:257
lapb\_data\_transmit+0x8c/0xb0 net/lapb/lapb\_iface.c:447
lapb\_transmit\_buffer+0x178/0x204 net/lapb/lapb\_out.c:149
lapb\_send\_control+0x220/0x320 net/lapb/lapb\_subr.c:251
\_\_lapb\_disconnect\_request+0x9c/0x17c net/lapb/lapb\_iface.c:326
lapb\_device\_event+0x288/0x4e0 net/lapb/lapb\_iface.c:492
notifier\_call\_chain+0x1a4/0x510 kernel/notifier.c:93
raw\_notifier\_call\_chain+0x3c/0x50 kernel/notifier.c:461
call\_netdevice\_notifiers\_info net/core/dev.c:1970 \[inline\]
call\_netdevice\_notifiers\_extack net/core/dev.c:2008 \[inline\]
call\_netdevice\_notifiers net/core/dev.c:2022 \[inline\]
\_\_dev\_close\_many+0x1b8/0x3c4 net/core/dev.c:1508
dev\_close\_many+0x1e0/0x470 net/core/dev.c:1559
dev\_close+0x174/0x250 net/core/dev.c:1585
lapbeth\_device\_event+0x2e4/0x958 drivers/net/wan/lapbether.c:466
notifier\_call\_chain+0x1a4/0x510 kernel/notifier.c:93
raw\_notifier\_call\_chain+0x3c/0x50 kernel/notifier.c:461
call\_netdevice\_notifiers\_info net/core/dev.c:1970 \[inline\]
call\_netdevice\_notifiers\_extack net/core/dev.c:2008 \[inline\]
call\_netdevice\_notifiers net/core/dev.c:2022 \[inline\]
\_\_dev\_close\_many+0x1b8/0x3c4 net/core/dev.c:1508
dev\_close\_many+0x1e0/0x470 net/core/dev.c:1559
dev\_close+0x174/0x250 net/core/dev.c:1585
bond\_enslave+0x2298/0x30cc drivers/net/bonding/bond\_main.c:2332
bond\_do\_ioctl+0x268/0xc64 drivers/net/bonding/bond\_main.c:4539
dev\_ifsioc+0x754/0x9ac
dev\_ioctl+0x4d8/0xd34 net/core/dev\_ioctl.c:786
sock\_do\_ioctl+0x1d4/0x2d0 net/socket.c:1217
sock\_ioctl+0x4e8/0x834 net/socket.c:1322
vfs\_ioctl fs/ioctl.c:51 \[inline\]
\_\_do\_
---truncated---

## Affected and fixed versions

- Linux: \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< b4f0e605a508f6d7cda6df2f03a0c676b778b1fe; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 396baca6683f415b5bc2b380289387bef1406edc; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 53064e8239dd2ecfefc5634e991f1025abc2ee0c; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 19554aa901b5833787df4417a05ccdebf351b7f4; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 87c49806a37f88eddde3f537c162fd0c2834170c; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< d98c91215a5748a0f536e7ccea26027005196859; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 3cffa2ddc4d3fcf70cde361236f5a614f81a09b2 (cvelist)
- Linux: 2.6.24 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-52784.md
Affected: Linux >= 872254dd6b1f80cb95ee9e2e22980888533fc293, < b4f0e605a508f6d7cda6df2f03a0c676b778b1fe; >= 872254dd6b1f80cb95ee9e2e22980888533fc293, < 396baca6683f415b5bc2b380289387bef1406edc; >= 872254dd6b1f80cb95ee9e2e22980888533fc293, < 53064e8239dd2ecfefc5634e991f1025abc2ee0c; >= 872254dd6b1f80cb95ee9e2…
Fixed in: Linux 396baca6683f415b5bc2b380289387bef1406edc, Linux 53064e8239dd2ecfefc5634e991f1025abc2ee0c, Linux 19554aa901b5833787df4417a05ccdebf351b7f4, Linux 87c49806a37f88eddde3f537c162fd0c2834170c, Linux 3cffa2ddc4d3fcf70cde361236f5a614f81a09b2

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< b4f0e605a508f6d7cda6df2f03a0c676b778b1fe; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 396baca6683f415b5bc2b380289387bef1406edc; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 53064e8239dd2ecfefc5634e991f1025abc2ee0c; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 19554aa901b5833787df4417a05ccdebf351b7f4; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 87c49806a37f88eddde3f537c162fd0c2834170c; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< d98c91215a5748a0f536e7ccea26027005196859; \>= 872254dd6b1f80cb95ee9e2e22980888533fc293, \< 3cffa2ddc4d3fcf70cde361236f5a614f81a09b2; Linux 2.6.24.

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

Yes. Fixed in Linux 396baca6683f415b5bc2b380289387bef1406edc, Linux 53064e8239dd2ecfefc5634e991f1025abc2ee0c, Linux 19554aa901b5833787df4417a05ccdebf351b7f4, Linux 87c49806a37f88eddde3f537c162fd0c2834170c, Linux 3cffa2ddc4d3fcf70cde361236f5a614f81a09b2. Upgrade Linux to 3cffa2ddc4d3fcf70cde361236f5a614f81a09b2 or later.

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

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/b4f0e605a508f6d7cda6df2f03a0c676b778b1fe>
- patch: <https://git.kernel.org/stable/c/396baca6683f415b5bc2b380289387bef1406edc>
- patch: <https://git.kernel.org/stable/c/53064e8239dd2ecfefc5634e991f1025abc2ee0c>
- patch: <https://git.kernel.org/stable/c/19554aa901b5833787df4417a05ccdebf351b7f4>
- patch: <https://git.kernel.org/stable/c/87c49806a37f88eddde3f537c162fd0c2834170c>
- patch: <https://git.kernel.org/stable/c/d98c91215a5748a0f536e7ccea26027005196859>
- patch: <https://git.kernel.org/stable/c/3cffa2ddc4d3fcf70cde361236f5a614f81a09b2>

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

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