{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-46198",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-05-13T15:03:33.104Z",
        "datePublished": "2026-05-28T09:40:14.558Z",
        "dateUpdated": "2026-08-05T12:30:22.970Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:30:22.970Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: fix integer overflow on buff_pos\n\nFixing an integer overflow present in batadv_iv_ogm_send_to_if. The size\ncheck is done using the int type in batadv_iv_ogm_aggr_packet whereas the\nbuff_pos variable uses the s16 type. This could lead to an out-of-bound\nread."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:A - batman-adv OGMs are layer-2 mesh management frames received from neighboring mesh nodes; they are not IP-routable, so an attacker must be on the same mesh/L2 (WiFi/Ethernet) segment.\nAC:L - The attacker fully controls the crafted OGM's size and tvlv_len, and in a mesh deployed over a large-MTU interface (required for packet_len>32767) can reliably and repeatedly trigger the overflow; the negative-offset check passes for nearly all values.\nPR:N - batman-adv performs no authentication of OGMs; any node on the mesh can broadcast frames that the victim node automatically processes and forwards.\nUI:N - Received OGMs are parsed, forwarded and aggregated entirely by the kernel without any user action.\nS:U - The out-of-bounds read/write corrupts kernel memory within the same kernel security authority; no boundary (VM/IOMMU) is crossed.\nC:H - The wrapped negative buff_pos causes reads of kernel memory before/around the skb buffer (tvlv_len and OGM fields), an out-of-bounds read of attacker-influenced kernel memory.\nI:H - The loop body writes ogm->flags (set/clear BATADV_DIRECTLINK) at an attacker-influenced negative offset from skb->data, an out-of-bounds write giving a memory-corruption primitive.\nA:H - Continued iteration over wild pointers dereferences out-of-bounds/unmapped memory, reliably causing a kernel oops/panic."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/batman-adv/bat_iv_ogm.c"
                    ],
                    "versions": [
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "867cd090760e8f5cd206f387b47ff9c56fac04e9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "10bb1f366d884d506c38a947b43026a75d1afe9a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "96c9c0ed9a9579a9085765aceaa4556a6666eb82",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "f61499359fa529f0d45a53bf7c573a49eb6322e6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "974542d1efc48b7e9fe16184e647615cba39969b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "bf872db54f91ffe70104b98c20068b2d5910e018",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "b252797bfced986d6d92ec2f4cfcca842ce8aa78",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3",
                            "lessThan": "0799e5943611006b346b8813c7daf7dd5aa26bfd",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/batman-adv/bat_iv_ogm.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.38",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.38",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.258",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.209",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.175",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.140",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.90",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.32",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.9",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "5.10.258"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "5.15.209"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "6.1.175"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "6.6.140"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "6.12.90"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "6.18.32"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "7.0.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.38",
                                    "versionEndExcluding": "7.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/867cd090760e8f5cd206f387b47ff9c56fac04e9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/10bb1f366d884d506c38a947b43026a75d1afe9a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/96c9c0ed9a9579a9085765aceaa4556a6666eb82"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f61499359fa529f0d45a53bf7c573a49eb6322e6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/974542d1efc48b7e9fe16184e647615cba39969b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bf872db54f91ffe70104b98c20068b2d5910e018"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b252797bfced986d6d92ec2f4cfcca842ce8aa78"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0799e5943611006b346b8813c7daf7dd5aa26bfd"
                }
            ],
            "title": "batman-adv: fix integer overflow on buff_pos",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}