{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix off by one in BIOS boundary checking\n\nBounds checking when parsing init scripts embedded in the BIOS reject\naccess to the last byte. This causes driver initialization to fail on\nApple eMac's with GeForce 2 MX GPUs, leaving the system with no working\nconsole.\n\nThis is probably only seen on OpenFirmware machines like PowerPC Macs\nbecause the BIOS image provided by OF is only the used parts of the ROM,\nnot a power-of-two blocks read from PCI directly so PCs always have\nempty bytes at the end that are never accessed."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c"
               ],
               "versions": [
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "d4b746e60fd8",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "909d3ec1bf9f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "b2a21669ee98",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "acc887ba8833",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "f071d9fa8575",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "d877e814a62b",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "e7c36fa8a1e6",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4d4e9907ff57",
                     "lessThan": "1b777d4d9e38",
                     "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/gpu/drm/nouveau/nvkm/subdev/bios/base.c"
               ],
               "versions": [
                  {
                     "version": "4.8",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.8",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.300",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.265",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.228",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.178",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.99",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.22",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.16.8",
                     "lessThanOrEqual": "5.16.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.17",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/d4b746e60fd8eaa8016e144223abe91158edcdad"
            },
            {
               "url": "https://git.kernel.org/stable/c/909d3ec1bf9f0ec534bfc081b77c0836fea7b0e2"
            },
            {
               "url": "https://git.kernel.org/stable/c/b2a21669ee98aafc41c6d42ef15af4dab9e6e882"
            },
            {
               "url": "https://git.kernel.org/stable/c/acc887ba88333f5fec49631f12d8cc7ebd95781c"
            },
            {
               "url": "https://git.kernel.org/stable/c/f071d9fa857582d7bd77f4906691f73d3edeab73"
            },
            {
               "url": "https://git.kernel.org/stable/c/d877e814a62b7de9069aeff8bc1d979dfc996e06"
            },
            {
               "url": "https://git.kernel.org/stable/c/e7c36fa8a1e63b08312162179c78a0c7795ea369"
            },
            {
               "url": "https://git.kernel.org/stable/c/1b777d4d9e383d2744fc9b3a09af6ec1893c8b1a"
            }
         ],
         "title": "drm/nouveau: fix off by one in BIOS boundary checking",
         "x_generator": {
            "engine": "bippy-7d53e8ef8be4"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2022-48732",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
