| { |
| "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/plane: Move range check for format_count earlier\n\nWhile the check for format_count > 64 in __drm_universal_plane_init()\nshouldn't be hit (it's a WARN_ON), in its current position it will then\nleak the plane->format_types array and fail to call\ndrm_mode_object_unregister() leaking the modeset identifier. Move it to\nthe start of the function to avoid allocating those resources in the\nfirst place." |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "drivers/gpu/drm/drm_plane.c" |
| ], |
| "versions": [ |
| { |
| "version": "e6fc3b68558e4c6d8d160b5daf2511b99afa8814", |
| "lessThan": "4ab7e453a3ee88c274cf97bee9487ab92a66d313", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "e6fc3b68558e4c6d8d160b5daf2511b99afa8814", |
| "lessThan": "1e29d829ad51d1472dd035487953a6724b56fc33", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "e6fc3b68558e4c6d8d160b5daf2511b99afa8814", |
| "lessThan": "b5cd108143513e4498027b96ec4710702d186f11", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "e6fc3b68558e4c6d8d160b5daf2511b99afa8814", |
| "lessThan": "978e3d023256bfaf34a0033d40c94e8a8e70cf3c", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "e6fc3b68558e4c6d8d160b5daf2511b99afa8814", |
| "lessThan": "787163d19bc3cdc6ca4b96223f62208534d1cf6b", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "e6fc3b68558e4c6d8d160b5daf2511b99afa8814", |
| "lessThan": "ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "e6fc3b68558e4c6d8d160b5daf2511b99afa8814", |
| "lessThan": "4b674dd69701c2e22e8e7770c1706a69f3b17269", |
| "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/drm_plane.c" |
| ], |
| "versions": [ |
| { |
| "version": "4.14", |
| "status": "affected" |
| }, |
| { |
| "version": "0", |
| "lessThan": "4.14", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "4.19.247", |
| "lessThanOrEqual": "4.19.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.4.198", |
| "lessThanOrEqual": "5.4.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.10.121", |
| "lessThanOrEqual": "5.10.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.15.46", |
| "lessThanOrEqual": "5.15.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.17.14", |
| "lessThanOrEqual": "5.17.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.18.3", |
| "lessThanOrEqual": "5.18.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.19", |
| "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.14", |
| "versionEndExcluding": "4.19.247" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.14", |
| "versionEndExcluding": "5.4.198" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.14", |
| "versionEndExcluding": "5.10.121" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.14", |
| "versionEndExcluding": "5.15.46" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.14", |
| "versionEndExcluding": "5.17.14" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.14", |
| "versionEndExcluding": "5.18.3" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.14", |
| "versionEndExcluding": "5.19" |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/4ab7e453a3ee88c274cf97bee9487ab92a66d313" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/1e29d829ad51d1472dd035487953a6724b56fc33" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/b5cd108143513e4498027b96ec4710702d186f11" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/978e3d023256bfaf34a0033d40c94e8a8e70cf3c" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/787163d19bc3cdc6ca4b96223f62208534d1cf6b" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/4b674dd69701c2e22e8e7770c1706a69f3b17269" |
| } |
| ], |
| "title": "drm/plane: Move range check for format_count earlier", |
| "x_generator": { |
| "engine": "bippy-1.2.0" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2021-47659", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |