| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/uverbs: Prevent integer overflow issue\n\nIn the expression \"cmd.wqe_size * cmd.wr_count\", both variables are u32\nvalues that come from the user so the multiplication can lead to integer\nwrapping. Then we pass the result to uverbs_request_next_ptr() which also\ncould potentially wrap. The \"cmd.sge_count * sizeof(struct ib_uverbs_sge)\"\nmultiplication can also overflow on 32bit systems although it's fine on\n64bit systems.\n\nThis patch does two things. First, I've re-arranged the condition in\nuverbs_request_next_ptr() so that the use controlled variable \"len\" is on\none side of the comparison by itself without any math. Then I've modified\nall the callers to use size_mul() for the multiplications." |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "drivers/infiniband/core/uverbs_cmd.c" |
| ], |
| "versions": [ |
| { |
| "version": "67cdb40ca444c09853ab4d8a41cf547ac26a4de4", |
| "lessThan": "c57721b24bd897338a81a0ca5fff41600f0f1ad1", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "67cdb40ca444c09853ab4d8a41cf547ac26a4de4", |
| "lessThan": "42a6eb4ed7a9a41ba0b83eb0c7e0225b5fca5608", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "67cdb40ca444c09853ab4d8a41cf547ac26a4de4", |
| "lessThan": "c2f961c46ea0e5274c5c320d007c2dd949cf627a", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "67cdb40ca444c09853ab4d8a41cf547ac26a4de4", |
| "lessThan": "346db03e9926ab7117ed9bf19665699c037c773c", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "67cdb40ca444c09853ab4d8a41cf547ac26a4de4", |
| "lessThan": "b92667f755749cf10d9ef1088865c555ae83ffb7", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "67cdb40ca444c09853ab4d8a41cf547ac26a4de4", |
| "lessThan": "b3ef4ae713360501182695dd47d6b4f6e1a43eb8", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "67cdb40ca444c09853ab4d8a41cf547ac26a4de4", |
| "lessThan": "d0257e089d1bbd35c69b6c97ff73e3690ab149a9", |
| "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/infiniband/core/uverbs_cmd.c" |
| ], |
| "versions": [ |
| { |
| "version": "2.6.15", |
| "status": "affected" |
| }, |
| { |
| "version": "0", |
| "lessThan": "2.6.15", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.4.289", |
| "lessThanOrEqual": "5.4.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.10.233", |
| "lessThanOrEqual": "5.10.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.15.176", |
| "lessThanOrEqual": "5.15.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.1.124", |
| "lessThanOrEqual": "6.1.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.6.70", |
| "lessThanOrEqual": "6.6.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.12.9", |
| "lessThanOrEqual": "6.12.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.13", |
| "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.15", |
| "versionEndExcluding": "5.4.289" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.15", |
| "versionEndExcluding": "5.10.233" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.15", |
| "versionEndExcluding": "5.15.176" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.15", |
| "versionEndExcluding": "6.1.124" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.15", |
| "versionEndExcluding": "6.6.70" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.15", |
| "versionEndExcluding": "6.12.9" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.15", |
| "versionEndExcluding": "6.13" |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/c57721b24bd897338a81a0ca5fff41600f0f1ad1" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/42a6eb4ed7a9a41ba0b83eb0c7e0225b5fca5608" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/c2f961c46ea0e5274c5c320d007c2dd949cf627a" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/346db03e9926ab7117ed9bf19665699c037c773c" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/b92667f755749cf10d9ef1088865c555ae83ffb7" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/b3ef4ae713360501182695dd47d6b4f6e1a43eb8" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/d0257e089d1bbd35c69b6c97ff73e3690ab149a9" |
| } |
| ], |
| "title": "RDMA/uverbs: Prevent integer overflow issue", |
| "x_generator": { |
| "engine": "bippy-1.2.0" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2024-57890", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |