# CVE-2025-68776: net/hsr: fix NULL pointer dereference in prp\_get\_untagged\_frame()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2026-01-13T15:28:52.766Z
- **Modified:** 2026-11-10T13:17:59.600Z

## Who should check

- Anyone running Linux \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 3ce95a57d8a1f0e20b637cdeddaaed81831ca819; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< c851e43b88b40bb7c20176c51cbf4f8c8d960dd9; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 7be6d25f4d974e44918ba3a5d58ebb9d36879087; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 8f289fa12926aae44347ca7d490e216555d8f255; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 1742974c24a9c1f1fd2e5edca0cbaccb720b397a; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 6220d38a08f8837575cd8f830928b49a3a5a5095; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 188e0fa5a679570ea35474575e724d8211423d17
- Anyone running Linux 3.17

## Description

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

net/hsr: fix NULL pointer dereference in prp\_get\_untagged\_frame()

prp\_get\_untagged\_frame() calls \_\_pskb\_copy() to create frame-\>skb\_std
but doesn't check if the allocation failed. If \_\_pskb\_copy() returns
NULL, skb\_clone() is called with a NULL pointer, causing a crash:

Oops: general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 \[\#1\] SMP KASAN NOPTI
KASAN: null-ptr-deref in range \[0x0000000000000078-0x000000000000007f\]
CPU: 0 UID: 0 PID: 5625 Comm: syz.1.18 Not tainted syzkaller \#0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:skb\_clone+0xd7/0x3a0 net/core/skbuff.c:2041
Code: 03 42 80 3c 20 00 74 08 4c 89 f7 e8 23 29 05 f9 49 83 3e 00 0f 85 a0 01 00 00 e8 94 dd 9d f8 48 8d 6b 7e 49 89 ee 49 c1 ee 03 \<43\> 0f b6 04 26 84 c0 0f 85 d1 01 00 00 44 0f b6 7d 00 41 83 e7 0c
RSP: 0018:ffffc9000d00f200 EFLAGS: 00010207
RAX: ffffffff892235a1 RBX: 0000000000000000 RCX: ffff88803372a480
RDX: 0000000000000000 RSI: 0000000000000820 RDI: 0000000000000000
RBP: 000000000000007e R08: ffffffff8f7d0f77 R09: 1ffffffff1efa1ee
R10: dffffc0000000000 R11: fffffbfff1efa1ef R12: dffffc0000000000
R13: 0000000000000820 R14: 000000000000000f R15: ffff88805144cc00
FS:  0000555557f6d500(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555581d35808 CR3: 000000005040e000 CR4: 0000000000352ef0
Call Trace:
 \<TASK\>
 hsr\_forward\_do net/hsr/hsr\_forward.c:-1 \[inline\]
 hsr\_forward\_skb+0x1013/0x2860 net/hsr/hsr\_forward.c:741
 hsr\_handle\_frame+0x6ce/0xa70 net/hsr/hsr\_slave.c:84
 \_\_netif\_receive\_skb\_core+0x10b9/0x4380 net/core/dev.c:5966
 \_\_netif\_receive\_skb\_one\_core net/core/dev.c:6077 \[inline\]
 \_\_netif\_receive\_skb+0x72/0x380 net/core/dev.c:6192
 netif\_receive\_skb\_internal net/core/dev.c:6278 \[inline\]
 netif\_receive\_skb+0x1cb/0x790 net/core/dev.c:6337
 tun\_rx\_batched+0x1b9/0x730 drivers/net/tun.c:1485
 tun\_get\_user+0x2b65/0x3e90 drivers/net/tun.c:1953
 tun\_chr\_write\_iter+0x113/0x200 drivers/net/tun.c:1999
 new\_sync\_write fs/read\_write.c:593 \[inline\]
 vfs\_write+0x5c9/0xb30 fs/read\_write.c:686
 ksys\_write+0x145/0x250 fs/read\_write.c:738
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0xfa/0xfa0 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7f0449f8e1ff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007ffd7ad94c90 EFLAGS: 00000293 ORIG\_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f044a1e5fa0 RCX: 00007f0449f8e1ff
RDX: 000000000000003e RSI: 0000200000000500 RDI: 00000000000000c8
RBP: 00007ffd7ad94d20 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000003e R11: 0000000000000293 R12: 0000000000000001
R13: 00007f044a1e5fa0 R14: 00007f044a1e5fa0 R15: 0000000000000003
 \</TASK\>

Add a NULL check immediately after \_\_pskb\_copy() to handle allocation
failures gracefully.

## Affected and fixed versions

- Linux: \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 3ce95a57d8a1f0e20b637cdeddaaed81831ca819; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< c851e43b88b40bb7c20176c51cbf4f8c8d960dd9; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 7be6d25f4d974e44918ba3a5d58ebb9d36879087; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 8f289fa12926aae44347ca7d490e216555d8f255; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 1742974c24a9c1f1fd2e5edca0cbaccb720b397a; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 6220d38a08f8837575cd8f830928b49a3a5a5095; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 188e0fa5a679570ea35474575e724d8211423d17 (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 188e0fa5a679570ea35474575e724d8211423d17 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68776.md
Affected: Linux >= f266a683a4804dc499efc6c2206ef68efed029d0, < 3ce95a57d8a1f0e20b637cdeddaaed81831ca819; >= f266a683a4804dc499efc6c2206ef68efed029d0, < c851e43b88b40bb7c20176c51cbf4f8c8d960dd9; >= f266a683a4804dc499efc6c2206ef68efed029d0, < 7be6d25f4d974e44918ba3a5d58ebb9d36879087; >= f266a683a4804dc499efc6c…
Fixed in: Linux 3ce95a57d8a1f0e20b637cdeddaaed81831ca819, Linux 7be6d25f4d974e44918ba3a5d58ebb9d36879087, Linux 8f289fa12926aae44347ca7d490e216555d8f255, Linux 1742974c24a9c1f1fd2e5edca0cbaccb720b397a, Linux 6220d38a08f8837575cd8f830928b49a3a5a5095, Linux 188e0fa5a679570ea35474575e724d8211423d17

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 3ce95a57d8a1f0e20b637cdeddaaed81831ca819; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< c851e43b88b40bb7c20176c51cbf4f8c8d960dd9; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 7be6d25f4d974e44918ba3a5d58ebb9d36879087; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 8f289fa12926aae44347ca7d490e216555d8f255; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 1742974c24a9c1f1fd2e5edca0cbaccb720b397a; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 6220d38a08f8837575cd8f830928b49a3a5a5095; \>= f266a683a4804dc499efc6c2206ef68efed029d0, \< 188e0fa5a679570ea35474575e724d8211423d17; Linux 3.17.

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

Yes. Fixed in Linux 3ce95a57d8a1f0e20b637cdeddaaed81831ca819, Linux 7be6d25f4d974e44918ba3a5d58ebb9d36879087, Linux 8f289fa12926aae44347ca7d490e216555d8f255, Linux 1742974c24a9c1f1fd2e5edca0cbaccb720b397a, Linux 6220d38a08f8837575cd8f830928b49a3a5a5095, Linux 188e0fa5a679570ea35474575e724d8211423d17. Upgrade Linux to 188e0fa5a679570ea35474575e724d8211423d17 or later.

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

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/3ce95a57d8a1f0e20b637cdeddaaed81831ca819>
- other: <https://git.kernel.org/stable/c/c851e43b88b40bb7c20176c51cbf4f8c8d960dd9>
- other: <https://git.kernel.org/stable/c/7be6d25f4d974e44918ba3a5d58ebb9d36879087>
- other: <https://git.kernel.org/stable/c/8f289fa12926aae44347ca7d490e216555d8f255>
- other: <https://git.kernel.org/stable/c/1742974c24a9c1f1fd2e5edca0cbaccb720b397a>
- other: <https://git.kernel.org/stable/c/6220d38a08f8837575cd8f830928b49a3a5a5095>
- other: <https://git.kernel.org/stable/c/188e0fa5a679570ea35474575e724d8211423d17>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.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-68776>

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