CVE-2025-68776: net/hsr: fix NULL pointer dereference in prp_get_untagged_frame()

Published Jan 13, 2026
·
Updated

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

net/hsr: fix NULL pointer dereference in prpgetuntaggedframe()

prpgetuntaggedframe() calls pskbcopy() to create frame->skbstd but doesn't check if the allocation failed. If pskbcopy() returns NULL, skbclone() 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:skbclone+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> hsrforwarddo net/hsr/hsrforward.c:-1 [inline] hsrforwardskb+0x1013/0x2860 net/hsr/hsrforward.c:741 hsrhandleframe+0x6ce/0xa70 net/hsr/hsrslave.c:84 netifreceiveskbcore+0x10b9/0x4380 net/core/dev.c:5966 netifreceiveskbonecore net/core/dev.c:6077 [inline] netifreceiveskb+0x72/0x380 net/core/dev.c:6192 netifreceiveskbinternal net/core/dev.c:6278 [inline] netifreceiveskb+0x1cb/0x790 net/core/dev.c:6337 tunrxbatched+0x1b9/0x730 drivers/net/tun.c:1485 tungetuser+0x2b65/0x3e90 drivers/net/tun.c:1953 tunchrwriteiter+0x113/0x200 drivers/net/tun.c:1999 newsyncwrite fs/readwrite.c:593 [inline] vfswrite+0x5c9/0xb30 fs/readwrite.c:686 ksyswrite+0x145/0x250 fs/readwrite.c:738 dosyscallx64 arch/x86/entry/syscall64.c:63 [inline] dosyscall64+0xfa/0xfa0 arch/x86/entry/syscall64.c:94 entrySYSCALL64afterhwframe+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 ORIGRAX: 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 pskbcopy() to handle allocation failures gracefully.

Affected Software

3 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.119.3-3
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  2. Compensating control

    In net/hsr, add a NULL check immediately after __pskb_copy() in prp_get_untagged_frame(); handle allocation failure gracefully before calling skb_clone() with frame->skb_std.

Event History

Jan 13, 2026
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
Description
Data Sourced
via NVD·04:15 PM
Description
Jan 15, 2026
Data Sourced
via Microsoft·09:06 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-68776?

CVE-2025-68776 has been classified as a medium severity vulnerability since it involves a potential NULL pointer dereference.

2

How do I fix CVE-2025-68776?

To fix CVE-2025-68776, update your Linux kernel to the latest version where the vulnerability has been patched.

3

What impact does CVE-2025-68776 have on system performance?

CVE-2025-68776 could cause system instability or crashes due to a NULL pointer dereference in the kernel.

4

Is CVE-2025-68776 present in all Linux kernel versions?

CVE-2025-68776 affects specific versions of the Linux kernel, so checking your version against vulnerability disclosures is necessary.

5

What component of the Linux kernel is affected by CVE-2025-68776?

CVE-2025-68776 affects the HSR (High-availability Seamless Redundancy) networking subsystem in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203