batman-adv: frag: disallow unicast fragment in fragment (Linux Linux)

CVE-2026-52916
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: batman-adv: frag: disallow unicast fragment in fragment batadv_frag_skb_buffer() is called by batadv_batman_skb_recv() when a BATADV_UNICAST_FRAG packet is received. Once all fragments are collected and the packet is reassembled, batadv_recv_frag_packet() calls batadv_batman_skb_recv() again to process the defragmented payload. A malicious sender can craft a BATADV_UNICAST_FRAG packet whose reassembled payload is itself a BATADV_UNICAST_FRAG packet (matryoshka-style nesting). Each nesting level recurses through batadv_batman_skb_recv() without bound, growing the kernel stack until it is exhausted. Since refragmentation or fragments in fragments are not actually allowed, discard all packets which are still BATADV_UNICAST_FRAG packets after the defragmentation process.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 610bfc6bc99bc83680d190ebc69359a05fc7f605 < 0c208fa3859e3a33a1c38bebc41d021166e94ac8 ; affected 610bfc6bc99bc83680d190ebc69359a05fc7f605 < bcda4814dc6524283c0b958882cb963d75fe411d ; affected 610bfc6bc99bc83680d190ebc69359a05fc7f605 < aea54d0bbe156d5ab7d00d68f66149ff41f4612a ; affected 610bfc6bc99bc83680d190ebc69359a05fc7f605 < b54e459cf86943583c1aa2ee3081874e7ab1f5f3 ; affected 610bfc6bc99bc83680d190ebc69359a05fc7f605 < 5418be6c2e117bf8a316582795a8e3ff90f45e5d ; affected 610bfc6bc99bc83680d190ebc69359a05fc7f605 < 5895ad21c7059a652da83fb817510f7a1e962abf
Linux · Linuxaffected 3.13 ; unaffected 0 < 3.13 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD