# CVE-2025-40280: tipc: Fix use-after-free in tipc\_mon\_reinit\_self().

> 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.24% (percentile 9, 2026-11-26)
- **Published:** 2025-12-06T21:51:04.091Z
- **Modified:** 2026-08-05T12:09:10.959Z

## Who should check

- Anyone running Linux \>= 28845c28f842e9e55e75b2c116bff714bb039055, \< 5f541300b02ef8b2af34f6f7d41ce617f3571e88; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< b2e77c789c234e7fe49057d2ced8f32e2d2c7901; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 51b8f0ab888f8aa5dfac954918864eeda8c12c19; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 499b5fa78d525c4450ebb76db83207db71efea77; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< c92dbf85627b5c29e52d9c120a24e785801716df; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< f0104977fed25ebe001fd63dab2b6b7fefad3373; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< fdf7c4c9af4f246323ce854e84b6aec198d49f7e; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 0725e6afb55128be21a2ca36e9674f573ccec173; 295c9b554f6dfcd2d368fae6e6fa22ee5b79c123; \>= 5.4.15, \< 5.4.302; …
- Anyone running Linux 5.5

## Description

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

tipc: Fix use-after-free in tipc\_mon\_reinit\_self().

syzbot reported use-after-free of tipc\_net(net)-\>monitors\[\]
in tipc\_mon\_reinit\_self(). \[0\]

The array is protected by RTNL, but tipc\_mon\_reinit\_self()
iterates over it without RTNL.

tipc\_mon\_reinit\_self() is called from tipc\_net\_finalize(),
which is always under RTNL except for tipc\_net\_finalize\_work().

Let's hold RTNL in tipc\_net\_finalize\_work().

\[0\]:
BUG: KASAN: slab-use-after-free in \_\_raw\_spin\_lock\_irqsave include/linux/spinlock\_api\_smp.h:110 \[inline\]
BUG: KASAN: slab-use-after-free in \_raw\_spin\_lock\_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
Read of size 1 at addr ffff88805eae1030 by task kworker/0:7/5989

CPU: 0 UID: 0 PID: 5989 Comm: kworker/0:7 Not tainted syzkaller \#0 PREEMPT\_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Workqueue: events tipc\_net\_finalize\_work
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x189/0x250 lib/dump\_stack.c:120
 print\_address\_description mm/kasan/report.c:378 \[inline\]
 print\_report+0xca/0x240 mm/kasan/report.c:482
 kasan\_report+0x118/0x150 mm/kasan/report.c:595
 \_\_kasan\_check\_byte+0x2a/0x40 mm/kasan/common.c:568
 kasan\_check\_byte include/linux/kasan.h:399 \[inline\]
 lock\_acquire+0x8d/0x360 kernel/locking/lockdep.c:5842
 \_\_raw\_spin\_lock\_irqsave include/linux/spinlock\_api\_smp.h:110 \[inline\]
 \_raw\_spin\_lock\_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
 rtlock\_slowlock kernel/locking/rtmutex.c:1894 \[inline\]
 rwbase\_rtmutex\_lock\_state kernel/locking/spinlock\_rt.c:160 \[inline\]
 rwbase\_write\_lock+0xd3/0x7e0 kernel/locking/rwbase\_rt.c:244
 rt\_write\_lock+0x76/0x110 kernel/locking/spinlock\_rt.c:243
 write\_lock\_bh include/linux/rwlock\_rt.h:99 \[inline\]
 tipc\_mon\_reinit\_self+0x79/0x430 net/tipc/monitor.c:718
 tipc\_net\_finalize+0x115/0x190 net/tipc/net.c:140
 process\_one\_work kernel/workqueue.c:3236 \[inline\]
 process\_scheduled\_works+0xade/0x17b0 kernel/workqueue.c:3319
 worker\_thread+0x8a0/0xda0 kernel/workqueue.c:3400
 kthread+0x70e/0x8a0 kernel/kthread.c:463
 ret\_from\_fork+0x439/0x7d0 arch/x86/kernel/process.c:148
 ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:245
 \</TASK\>

Allocated by task 6089:
 kasan\_save\_stack mm/kasan/common.c:47 \[inline\]
 kasan\_save\_track+0x3e/0x80 mm/kasan/common.c:68
 poison\_kmalloc\_redzone mm/kasan/common.c:388 \[inline\]
 \_\_kasan\_kmalloc+0x93/0xb0 mm/kasan/common.c:405
 kasan\_kmalloc include/linux/kasan.h:260 \[inline\]
 \_\_kmalloc\_cache\_noprof+0x1a8/0x320 mm/slub.c:4407
 kmalloc\_noprof include/linux/slab.h:905 \[inline\]
 kzalloc\_noprof include/linux/slab.h:1039 \[inline\]
 tipc\_mon\_create+0xc3/0x4d0 net/tipc/monitor.c:657
 tipc\_enable\_bearer net/tipc/bearer.c:357 \[inline\]
 \_\_tipc\_nl\_bearer\_enable+0xe16/0x13f0 net/tipc/bearer.c:1047
 \_\_tipc\_nl\_compat\_doit net/tipc/netlink\_compat.c:371 \[inline\]
 tipc\_nl\_compat\_doit+0x3bc/0x5f0 net/tipc/netlink\_compat.c:393
 tipc\_nl\_compat\_handle net/tipc/netlink\_compat.c:-1 \[inline\]
 tipc\_nl\_compat\_recv+0x83c/0xbe0 net/tipc/netlink\_compat.c:1321
 genl\_family\_rcv\_msg\_doit+0x215/0x300 net/netlink/genetlink.c:1115
 genl\_family\_rcv\_msg net/netlink/genetlink.c:1195 \[inline\]
 genl\_rcv\_msg+0x60e/0x790 net/netlink/genetlink.c:1210
 netlink\_rcv\_skb+0x208/0x470 net/netlink/af\_netlink.c:2552
 genl\_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink\_unicast\_kernel net/netlink/af\_netlink.c:1320 \[inline\]
 netlink\_unicast+0x846/0xa10 net/netlink/af\_netlink.c:1346
 netlink\_sendmsg+0x805/0xb30 net/netlink/af\_netlink.c:1896
 sock\_sendmsg\_nosec net/socket.c:714 \[inline\]
 \_\_sock\_sendmsg+0x21c/0x270 net/socket.c:729
 \_\_\_\_sys\_sendmsg+0x508/0x820 net/socket.c:2614
 \_\_\_sys\_sendmsg+0x21f/0x2a0 net/socket.c:2668
 \_\_sys\_sendmsg net/socket.c:2700 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2705 \[inline\]
 \_\_se\_sys\_sendmsg net/socket.c:2703 \[inline\]
 \_\_x64\_sys\_sendmsg+0x1a1/0x260 net/socket.c:2703
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0xfa/0x3b0 arch/
---truncated---

## Affected and fixed versions

- Linux: \>= 28845c28f842e9e55e75b2c116bff714bb039055, \< 5f541300b02ef8b2af34f6f7d41ce617f3571e88; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< b2e77c789c234e7fe49057d2ced8f32e2d2c7901; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 51b8f0ab888f8aa5dfac954918864eeda8c12c19; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 499b5fa78d525c4450ebb76db83207db71efea77; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< c92dbf85627b5c29e52d9c120a24e785801716df; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< f0104977fed25ebe001fd63dab2b6b7fefad3373; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< fdf7c4c9af4f246323ce854e84b6aec198d49f7e; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 0725e6afb55128be21a2ca36e9674f573ccec173; 295c9b554f6dfcd2d368fae6e6fa22ee5b79c123; \>= 5.4.15, \< 5.4.302; … (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-40280.md
Affected: Linux >= 28845c28f842e9e55e75b2c116bff714bb039055, < 5f541300b02ef8b2af34f6f7d41ce617f3571e88; >= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, < b2e77c789c234e7fe49057d2ced8f32e2d2c7901; >= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, < 51b8f0ab888f8aa5dfac954918864eeda8c12c19; >= 46cb01eeeb86fca6afe24dd…
Fixed in: Linux 5f541300b02ef8b2af34f6f7d41ce617f3571e88, Linux 51b8f0ab888f8aa5dfac954918864eeda8c12c19, Linux 499b5fa78d525c4450ebb76db83207db71efea77, Linux 0725e6afb55128be21a2ca36e9674f573ccec173, Linux 5.4.302

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-2025-40280 being exploited?

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

### How serious is CVE-2025-40280?

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

### Which versions are affected by CVE-2025-40280?

Linux \>= 28845c28f842e9e55e75b2c116bff714bb039055, \< 5f541300b02ef8b2af34f6f7d41ce617f3571e88; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< b2e77c789c234e7fe49057d2ced8f32e2d2c7901; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 51b8f0ab888f8aa5dfac954918864eeda8c12c19; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 499b5fa78d525c4450ebb76db83207db71efea77; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< c92dbf85627b5c29e52d9c120a24e785801716df; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< f0104977fed25ebe001fd63dab2b6b7fefad3373; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< fdf7c4c9af4f246323ce854e84b6aec198d49f7e; \>= 46cb01eeeb86fca6afe24dda1167b0cb95424e29, \< 0725e6afb55128be21a2ca36e9674f573ccec173; 295c9b554f6dfcd2d368fae6e6fa22ee5b79c123; \>= 5.4.15, \< 5.4.302; …; Linux 5.5.

### Is there a fix for CVE-2025-40280?

Yes. Fixed in Linux 5f541300b02ef8b2af34f6f7d41ce617f3571e88, Linux 51b8f0ab888f8aa5dfac954918864eeda8c12c19, Linux 499b5fa78d525c4450ebb76db83207db71efea77, Linux 0725e6afb55128be21a2ca36e9674f573ccec173, Linux 5.4.302. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40280?

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

- other: <https://git.kernel.org/stable/c/5f541300b02ef8b2af34f6f7d41ce617f3571e88>
- other: <https://git.kernel.org/stable/c/b2e77c789c234e7fe49057d2ced8f32e2d2c7901>
- other: <https://git.kernel.org/stable/c/51b8f0ab888f8aa5dfac954918864eeda8c12c19>
- other: <https://git.kernel.org/stable/c/499b5fa78d525c4450ebb76db83207db71efea77>
- other: <https://git.kernel.org/stable/c/c92dbf85627b5c29e52d9c120a24e785801716df>
- other: <https://git.kernel.org/stable/c/f0104977fed25ebe001fd63dab2b6b7fefad3373>
- other: <https://git.kernel.org/stable/c/fdf7c4c9af4f246323ce854e84b6aec198d49f7e>
- other: <https://git.kernel.org/stable/c/0725e6afb55128be21a2ca36e9674f573ccec173>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## 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-2025-40280>

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