{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-53082",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-11-19T17:17:24.979Z",
        "datePublished": "2024-11-19T17:45:12.233Z",
        "dateUpdated": "2026-08-05T11:43:31.556Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:43:31.556Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_net: Add hash_key_length check\n\nAdd hash_key_length check in virtnet_probe() to avoid possible out of\nbound errors when setting/reading the hash key."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.4,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The malicious value arrives in the virtio device's configuration space read over the PCI/MMIO transport during driver probe, not over any network or wireless path; the attacker is the local device model (hypervisor backend, vDPA/VDUSE device, or hardware virtio NIC). This matches the AV:L used for the analogous device-supplied-config OOB in CVE-2024-53092.\nAC:L - The device simply advertises rss_max_key_size > 40 and the overflow is deterministic on every probe — no race, no timing window, and the attacker picks the exact overflow length and (via ethtool set_rxfh) the exact bytes written past the array.\nPR:N - The out-of-bounds write and the BUG_ON panic occur automatically inside virtnet_probe()/virtnet_init_default_rss() during driver binding, and virtnet_commit_rss_command() DMAs the out-of-bounds key bytes back to the device on link-up, all with no guest account or credentials required.\nUI:N - Device probe, hotplug, and interface bring-up are driven automatically by the driver core and normal network configuration; no victim action is needed.\nS:U - The out-of-bounds read and write are confined to the guest kernel's own heap and security authority, with no IOMMU, hypervisor, or sandbox boundary crossed by the impact itself.\nC:H - virtnet_get_rxfh() memcpy's vi->rss_key_size bytes from the 40-byte key array to userspace and virtnet_commit_rss_command() hands the same over-long buffer to the device, leaking adjacent virtnet_info heap contents including the indirection_table kernel pointer; once that pointer is overwritten via set_rxfh, get_rxfh reads back arbitrary kernel addresses.\nI:H - netdev_rss_key_fill() writes past key[] at probe and virtnet_set_rxfh()'s memcpy(vi->rss.key, rxfh->key, vi->rss_key_size) writes attacker-chosen bytes over the adjacent indirection_table pointer, after which vi->rss.indirection_table[i] = rxfh->indir[i] is an arbitrary kernel write suitable for control-flow hijacking; on 6.1/6.6 key[] is the last struct member so the overflow lands directly on subsequent virtnet_info fields.\nA:H - netdev_rss_key_fill() contains BUG_ON(len > 52), so any device advertising rss_max_key_size of 53–255 panics the guest kernel outright during probe, and the corrupted indirection_table pointer additionally trips sg_set_buf()'s virt_addr_valid BUG_ON and wild dereferences."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/virtio_net.c"
                    ],
                    "versions": [
                        {
                            "version": "c7114b1249fa3b5f3a434606ba4cc89c4a27d618",
                            "lessThan": "f3401e3c8d339ddb6ccb2e3d11ad634b7846a806",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c7114b1249fa3b5f3a434606ba4cc89c4a27d618",
                            "lessThan": "af0aa8aecbe8985079232902894cc4cb62795691",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c7114b1249fa3b5f3a434606ba4cc89c4a27d618",
                            "lessThan": "6a18a783b1fa590ad1ed785907263e4b86adcfe2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c7114b1249fa3b5f3a434606ba4cc89c4a27d618",
                            "lessThan": "3f7d9c1964fcd16d02a8a9d4fd6f6cb60c4cc530",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/virtio_net.c"
                    ],
                    "versions": [
                        {
                            "version": "5.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.117",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.61",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.8",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "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": "5.18",
                                    "versionEndExcluding": "6.1.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "6.6.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "6.11.8"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "6.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f3401e3c8d339ddb6ccb2e3d11ad634b7846a806"
                },
                {
                    "url": "https://git.kernel.org/stable/c/af0aa8aecbe8985079232902894cc4cb62795691"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6a18a783b1fa590ad1ed785907263e4b86adcfe2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3f7d9c1964fcd16d02a8a9d4fd6f6cb60c4cc530"
                }
            ],
            "title": "virtio_net: Add hash_key_length check",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.1,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-53082",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T20:11:57.489221Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-125",
                                "description": "CWE-125 Out-of-bounds Read"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T20:17:14.747Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T22:29:05.254Z"
                }
            }
        ]
    }
}