- Description
- In the Linux kernel, the following vulnerability has been resolved: tipc: fix NULL deref in cleanup_bearer() syzbot found [1] that after blamed commit, ub->ubsock->sk was NULL when attempting the atomic_dec() : atomic_dec(&tipc_net(sock_net(ub->ubsock->sk))->wq_count); Fix this by caching the tipc_net pointer. [1] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 UID: 0 PID: 5896 Comm: kworker/0:3 Not tainted 6.13.0-rc1-next-20241203-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events cleanup_bearer RIP: 0010:read_pnet include/net/net_namespace.h:387 [inline] RIP: 0010:sock_net include/net/sock.h:655 [inline] RIP: 0010:cleanup_bearer+0x1f7/0x280 net/tipc/udp_media.c:820 Code: 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 3c f7 99 f6 48 8b 1b 48 83 c3 30 e8 f0 e4 60 00 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 1a f7 99 f6 49 83 c7 e8 48 8b 1b RSP: 0018:ffffc9000410fb70 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffff88802fe45a00 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000410f900 RBP: ffff88807e1f0908 R08: ffffc9000410f907 R09: 1ffff92000821f20 R10: dffffc0000000000 R11: fffff52000821f21 R12: ffff888031d19980 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff88807e1f0918 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556ca050b000 CR3: 0000000031c0c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
CVSS 3.1
- Type
- Primary
- Base score
- 5.5
- Impact score
- 3.6
- Exploitability score
- 1.8
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Severity
- MEDIUM
- nvd@nist.gov
- CWE-476
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.4.287:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "270B5743-09BB-4393-B8A8-86C7EAAB8DAC"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.10.231:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7D576002-9649-4BE6-AF72-C5E230DF0A0A"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.15.174:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B25345A0-8E32-4651-B6FF-2DE4DB0B3A48"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.1.120:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "52A2191E-D354-4732-9A39-C4059434873F"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.6.66:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "36894D4E-0255-4309-B4D2-06ED50D7D076"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.12.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F9807ED9-EBAB-45B9-AC9D-FA54900DD0DC"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5A073481-106D-4B15-B4C7-FB0213B8E1D4"
}
],
"operator": "OR"
}
]
}
]