{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-54057",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-12-24T12:21:05.091Z",
        "datePublished": "2025-12-24T12:23:05.208Z",
        "dateUpdated": "2026-05-11T19:54:39.901Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:54:39.901Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter\n\nThe 'acpiid' buffer in the parse_ivrs_acpihid function may overflow,\nbecause the string specifier in the format string sscanf()\nhas no width limitation.\n\nFound by InfoTeCS on behalf of Linux Verification Center\n(linuxtesting.org) with SVACE."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iommu/amd/init.c"
                    ],
                    "versions": [
                        {
                            "version": "ca3bf5d47cec8b7614bcb2e9132c40081d6d81db",
                            "lessThan": "5e97dc748d13fad582136ba0c8cec215c7aeeb17",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ca3bf5d47cec8b7614bcb2e9132c40081d6d81db",
                            "lessThan": "f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ca3bf5d47cec8b7614bcb2e9132c40081d6d81db",
                            "lessThan": "c513043e0afe6a8ba79d00af358655afabb576d2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ca3bf5d47cec8b7614bcb2e9132c40081d6d81db",
                            "lessThan": "2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ca3bf5d47cec8b7614bcb2e9132c40081d6d81db",
                            "lessThan": "63cd11165e5e0ea2012254c764003eda1f9adb7d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ca3bf5d47cec8b7614bcb2e9132c40081d6d81db",
                            "lessThan": "b6b26d86c61c441144c72f842f7469bb686e1211",
                            "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/iommu/amd/init.c"
                    ],
                    "versions": [
                        {
                            "version": "4.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.237",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.175",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.103",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.16",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2.3",
                            "lessThanOrEqual": "6.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.3",
                            "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": "4.7",
                                    "versionEndExcluding": "5.4.237"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "5.10.175"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "5.15.103"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "6.1.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "6.2.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "6.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5e97dc748d13fad582136ba0c8cec215c7aeeb17"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c513043e0afe6a8ba79d00af358655afabb576d2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60"
                },
                {
                    "url": "https://git.kernel.org/stable/c/63cd11165e5e0ea2012254c764003eda1f9adb7d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b6b26d86c61c441144c72f842f7469bb686e1211"
                }
            ],
            "title": "iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}