최신 CVE 목록

CVE-2026-142990

—

usb: usbtest: prevent divide by zero in simple_io() with zero length

설명(영어 원문)

In the Linux kernel, the following vulnerability has been resolved: usb: usbtest: prevent divide by zero in simple_io() with zero length A divide error oops was observed in simple_io(): usbtest 1-1:1.0: TEST 3: write/1 0..0 bytes 16307 times Oops: divide error: 0000 [#1] SMP KASAN RIP: 0010:simple_io+0x2c4/0x540 drivers/usb/misc/usbtest.c:497 The variable-length tests (test 3 and test 4) compute the next URB size with "len %= max", where max is the original urb->transfer_buffer_length. However, when a zero-length transfer is requested (param->length == 0), simple_alloc_urb() still returns a valid URB with transfer_buffer_length set to 0. On the first vary update, "len %= max" divides by zero and the kernel oopses. Commit 564e69893c63 ("USB: usbtest: prevent a divide by zero bug") added the equivalent zero check to alloc_sglist(), which covers the scatterlist tests (test 7/8), but the single-URB variable-length path in simple_io() was left unprotected. Fix this by returning -EINVAL early from simple_io() when vary is requested but max is zero, so the divide by zero never occurs. Zero-length transfers without vary remain valid for the other callers of simple_io().

기본 정보

공개일
2026-12-03
최근 수정
2026-12-03
심각도
—

영향 받는 제품

  • Linux Linux — 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 2d0874ec58968a3116caf4b6187640ae06a74819, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < ae987e804d8c18679b117fd55dd55a5c88b195b5, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 14acfeda31204c8e22d75707e543a21ec2a0573b, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 2468252d9190ebbf2da8d81b0132d7f2a67d86ec, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < e86108348f12dcd64d2cdaa8f59ea5f696d6f4a3, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < fdaca138694111153f96c7d76877734b9dbf0e01, < 5.10.276, < 5.15.227, < 6.12.120, < 6.18.66
  • Linux Linux — 버전 정보 없음

참고 링크

원본 기록

데이터 출처

CVE® 데이터 © The MITRE Corporation · CVE 데이터는 MITRE의 CVE 이용 약관에 따른 저작권 허락으로 싣습니다. 약관이 함께 싣도록 정한 허락 문구(원문)는 다음과 같습니다. CVE 이용 약관

MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

출처: CISA Known Exploited Vulnerabilities Catalog

EPSS by FIRST.org

출처: 한국인터넷진흥원(KISA) 보안취약점 정보포털

각 기관은 이 서비스를 보증하거나 추천하지 않습니다. 정보는 원본 그대로가 아닐 수 있으니 중요한 판단은 원본에서 확인해 주세요.