cbcvebase.
CVE-2024-38661
published 2024-06-25

CVE-2024-38661: In the Linux kernel, the following vulnerability has been resolved: s390/ap: Fix crash in AP internal function modify_bitmap() A system crash like this Failing…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
17.5th percentile
In the Linux kernel, the following vulnerability has been resolved: s390/ap: Fix crash in AP internal function modify_bitmap() A system crash like this Failing address: 200000cb7df6f000 TEID: 200000cb7df6f403 Fault in home space mode while using kernel ASCE. AS:00000002d71bc007 R3:00000003fe5b8007 S:000000011a446000 P:000000015660c13d Oops: 0038 ilc:3 [#1] PREEMPT SMP Modules linked in: mlx5_ib ... CPU: 8 PID: 7556 Comm: bash Not tainted 6.9.0-rc7 #8 Hardware name: IBM 3931 A01 704 (LPAR) Krnl PSW : 0704e00180000000 0000014b75e7b606 (ap_parse_bitmap_str+0x10e/0x1f8) R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:2 PM:0 RI:0 EA:3 Krnl GPRS: 0000000000000001 ffffffffffffffc0 0000000000000001 00000048f96b75d3 000000cb00000100 ffffffffffffffff ffffffffffffffff 000000cb7df6fce0 000000cb7df6fce0 00000000ffffffff 000000000000002b 00000048ffffffff 000003ff9b2dbc80 200000cb7df6fcd8 0000014bffffffc0 000000cb7df6fbc8 Krnl Code: 0000014b75e7b5fc: a7840047 brc 8,0000014b75e7b68a 0000014b75e7b600: 18b2 lr %r11,%r2 #0000014b75e7b602: a7f4000a brc 15,0000014b75e7b616 >0000014b75e7b606: eb22d00000e6 laog %r2,%r2,0(%r13) 0000014b75e7b60c: a7680001 lhi %r6,1 0000014b75e7b610: 187b lr %r7,%r11 0000014b75e7b612: 84960021 brxh %r9,%r6,0000014b75e7b654 0000014b75e7b616: 18e9 lr %r14,%r9 Call Trace: [] ap_parse_bitmap_str+0x10e/0x1f8 ([] ap_parse_bitmap_str+0xe4/0x1f8) [] apmask_store+0x68/0x140 [] kernfs_fop_write_iter+0x14e/0x1e8 [] vfs_write+0x1b4/0x448 [] ksys_write+0x74/0x100 [] __do_syscall+0x268/0x328 [] system_call+0x70/0x98 INFO: lockdep is turned off. Last Breaking-Event-Address: [] ap_parse_bitmap_str+0x13e/0x1f8 Kernel panic - not syncing: Fatal exception: panic_on_oops occured when /sys/bus/ap/a[pq]mask was updated with a relative mask value (like +0x10-0x12,+60,-90) with one of the numeric values exceeding INT_MAX. The fix is simple: use unsigned long values for the internal variables. The correct checks are already in place in the function but a simple int for the internal

Affected

25 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.94-1 (bookworm)linux 6.1.94-1 (bookworm)
linuxlinux
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < 2062e3f1f2374102f8014d7ca286b9aa527bd5582062e3f1f2374102f8014d7ca286b9aa527bd558
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < 7c72af16abf2ec7520407098360bbba312289e057c72af16abf2ec7520407098360bbba312289e05
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < 7360cef95aa1ea2b5efb7b5e2ed32e941664e1f07360cef95aa1ea2b5efb7b5e2ed32e941664e1f0
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < 67011123453b91ec03671d40712fa213e94a01b967011123453b91ec03671d40712fa213e94a01b9
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < 8c5f5911c1b13170d3404eb992c6a0deaa8d81ad8c5f5911c1b13170d3404eb992c6a0deaa8d81ad
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < 4c0bfb4e867c1ec6616a5049bd3618021e1270564c0bfb4e867c1ec6616a5049bd3618021e127056
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < 7dabe54a016defe11bb2a278cd9f1ff6db3feba67dabe54a016defe11bb2a278cd9f1ff6db3feba6
linuxlinux>= 3d8f60d38e249f989a7fca9c2370c31c3d5487e1 < d4f9d5a99a3fd1b1c691b7a1a6f8f3f25f4116c9d4f9d5a99a3fd1b1c691b7a1a6f8f3f25f4116c9
linuxlinux_kernel< 4.19.3164.19.316
linuxlinux_kernel>= 0 < 5.10.221-15.10.221-1
linuxlinux_kernel>= 0 < 6.1.94-16.1.94-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 5.4.0-192.2125.4.0-192.212
linuxlinux_kernel>= 0 < 5.15.0-121.1315.15.0-121.131
linuxlinux_kernel>= 0 < 6.8.0-44.446.8.0-44.44
linuxlinux_kernel>= 0 < 4.15.0-233.2454.15.0-233.245
linuxlinux_kernel>= 4.20 < 5.4.2785.4.278
linuxlinux_kernel>= 5.11 < 5.15.1615.15.161
linuxlinux_kernel>= 5.16 < 6.1.946.1.94
linuxlinux_kernel>= 5.5 < 5.10.2195.10.219
linuxlinux_kernel>= 6.2 < 6.6.346.6.34
linuxlinux_kernel>= 6.7 < 6.9.56.9.5

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.