net: appletalk: fix NULL pointer dereference in aarp_send_ddp()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 51cc5e756cec6071ffc620076aebcf5bae936668, Kernel 542c1dd41e1b0cd1c2c3ba8091c7d882eea0d680, Kernel 83899a056aeb120898a6e3a989971fc63e274e2e and 4 more.
In the Linux kernel, the following vulnerability has been resolved: net: appletalk: fix NULL pointer dereference in aarp_send_ddp() aarp_send_ddp() calls atalk_find_dev_addr(dev) in the LocalTalk fast path without checking for NULL. When the device has no AppleTalk interface configured (dev->atalk_ptr == NULL), this leads to a NULL pointer dereference at the at->s_net access. KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:aarp_send_ddp (net/appletalk/aarp.c:552 (discriminator 2)) Call Trace: <TASK> atalk_sendmsg (net/appletalk/ddp.c:1715) __sys_sendto (net/socket.c:2265 (discriminator 1)) __x64_sys_sendto (net/socket.c:2272) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Add a NULL check consistent with the other callers of atalk_find_dev_addr().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <51cc5e756cec6071ffc620076aebcf5bae936668, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <542c1dd41e1b0cd1c2c3ba8091c7d882eea0d680, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <83899a056aeb120898a6e3a989971fc63e274e2e, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8c4b9ceb1be780588c1c50d573d5ee308e0874d2, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8fc30f0cdf4207a5aa2341c0a98d0f1713b3ce2c, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9e7f36ab5b7bf68463faa5f7b926fea8f35597bb, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d643fd42ad96f19b5ce5cb11824fefa617191dbe | 51cc5e756cec6071ffc620076aebcf5bae936668, 542c1dd41e1b0cd1c2c3ba8091c7d882eea0d680, 83899a056aeb120898a6e3a989971fc63e274e2e, 8c4b9ceb1be780588c1c50d573d5ee308e0874d2, 8fc30f0cdf4207a5aa2341c0a98d0f1713b3ce2c, 9e7f36ab5b7bf68463faa5f7b926fea8f35597bb, d643fd42ad96f19b5ce5cb11824fefa617191dbe |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket