ipv6: mcast: Fix use-after-free when processing MLD queries
Summary
| CVE | CVE-2026-53275 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-25 09:16:45 UTC |
| Updated | 2026-06-25 09:16:45 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
ipv6: mcast: Fix use-after-free when processing MLD queries
When processing an MLD query, a pointer to the multicast group address
is retrieved when initially parsing the packet. This pointer is later
dereferenced without being reloaded despite the fact that the skb header
might have been reallocated following the pskb_may_pull() calls, leading
to a use-after-free [1].
Fix by copying the multicast group address when the packet is initially
parsed.
[1]
BUG: KASAN: slab-use-after-free in __mld_query_work (net/ipv6/mcast.c:1512)
Read of size 8 at addr ffff8881154b8e90 by task kworker/4:1/118
Workqueue: mld mld_query_work
Call Trace:
<TASK>
dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120)
print_address_description.constprop.0 (mm/kasan/report.c:378)
print_report (mm/kasan/report.c:482)
kasan_report (mm/kasan/report.c:595)
__mld_query_work (net/ipv6/mcast.c:1512)
mld_query_work (net/ipv6/mcast.c:1563)
process_one_work (kernel/workqueue.c:3314)
worker_thread (kernel/workqueue.c:3397 kernel/workqueue.c:3478)
kthread (kernel/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
ret_from_fork_asm (arch/x86/entry/entry_64.S:245)
</TASK>
[...]
Freed by task 118:
kasan_save_stack (mm/kasan/common.c:57)
kasan_save_track (mm/kasan/common.c:78)
kasan_save_free_info (mm/kasan/generic.c:584)
__kasan_slab_free (mm/kasan/common.c:253 mm/kasan/common.c:285)
kfree (./include/linux/kasan.h:235 mm/slub.c:2689 mm/slub.c:6251 mm/slub.c:6566)
pskb_expand_head (net/core/skbuff.c:2335)
__pskb_pull_tail (net/core/skbuff.c:2878 (discriminator 4))
__mld_query_work (net/ipv6/mcast.c:1495 (discriminator 1))
mld_query_work (net/ipv6/mcast.c:1563)
process_one_work (kernel/workqueue.c:3314)
worker_thread (kernel/workqueue.c:3397 kernel/workqueue.c:3478)
kthread (kernel/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
ret_from_fork_asm (arch/x86/entry/entry_64.S:245) |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 97300b5fdfe28c6edae926926f9467a27cf5889c 1354271c89d0e5fbf8b3d94097ff0216695209c7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 97300b5fdfe28c6edae926926f9467a27cf5889c 53baa63a4183291574483f89583dbef13677a2c4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 97300b5fdfe28c6edae926926f9467a27cf5889c 2a613bf497029d555a7428406aa8cdb84a503cea git |
Not specified |
| CNA |
Linux |
Linux |
affected 97300b5fdfe28c6edae926926f9467a27cf5889c b2eb8886200b907fc71806869620609f0f4cacb0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 97300b5fdfe28c6edae926926f9467a27cf5889c 4203806f700bb44ea0b05d484d9d40044b47fb04 git |
Not specified |
| CNA |
Linux |
Linux |
affected 97300b5fdfe28c6edae926926f9467a27cf5889c 087dbacf897c020f438f780f0a4a8aa73b6d7c5a git |
Not specified |
| CNA |
Linux |
Linux |
affected 97300b5fdfe28c6edae926926f9467a27cf5889c 791c91dc7a9dfb2457d5e29b8216a6484b9c4b40 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.15 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 2.6.15 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.210 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.176 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.143 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.94 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.36 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0.13 7.0.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/1354271c89d0e5fbf8b3d94097ff0216695209c7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/791c91dc7a9dfb2457d5e29b8216a6484b9c4b40 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/087dbacf897c020f438f780f0a4a8aa73b6d7c5a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2a613bf497029d555a7428406aa8cdb84a503cea |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b2eb8886200b907fc71806869620609f0f4cacb0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/4203806f700bb44ea0b05d484d9d40044b47fb04 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/53baa63a4183291574483f89583dbef13677a2c4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.