CVE-2022-49143

kernel: nbd: fix possible overflow on 'first_minor' in nbd_dev_add()

Published Feb 26, 2025 CVSS 3.1 · 6.7 Medium EPSS n/a KEV · Not listed
Description
This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-54474 This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.
History
Type Values Removed Values Added
Weaknesses CWE-190
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Title kernel: nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nbd: fix possible overflow on 'first_minor' in nbd_dev_add() When 'index' is a big numbers, it may become negative which forced to 'int'. then 'index << part_shift' might overflow to a positive value that is not greater than '0xfffff', then sysfs might complains about duplicate creation. Because of this, move the 'index' judgment to the front will fix it and be better. This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.
Title nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
References
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nbd: fix possible overflow on 'first_minor' in nbd_dev_add() When 'index' is a big numbers, it may become negative which forced to 'int'. then 'index << part_shift' might overflow to a positive value that is not greater than '0xfffff', then sysfs might complains about duplicate creation. Because of this, move the 'index' judgment to the front will fix it and be better.
Title nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
References

Subscriptions

No data.

Weaknesses

Sources

Status
REJECTED
Assigner
Linux
Published
Updated
Feb 26, 2025, 2:56 PM
Reserved
Feb 26, 2025, 1:49 AM
Status
Rejected
Published
Feb 26, 2025, 7:00 AM
Modified
Oct 18, 2026, 1:10 AM
Severity
Moderate
Public date
Feb 26, 2025, 12:00 AM