{"id":"CVE-2023-52774","state":"PUBLISHED","title":"s390/dasd: protect device queue against concurrent access","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/dasd: protect device queue against concurrent access\n\nIn dasd_profile_start() the amount of requests on the device queue are\ncounted. The access to the device queue is unprotected against\nconcurrent access. With a lot of parallel I/O, especially with alias\ndevices enabled, the device queue can change while dasd_profile_start()\nis accessing the queue. In the worst case this leads to a kernel panic\ndue to incorrect pointer accesses.\n\nFix this by taking the device lock before accessing the queue and\ncounting the requests. Additionally the check for a valid profile data\npointer can be done earlier to avoid unnecessary locking in a hot path.","publishedAt":"2024-05-21T15:30:55.593Z","updatedAt":"2026-05-11T19:32:52.890Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"f75617cc8df4155374132f0b500b0b3ebb967458","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"c841de6247e94e07566d57163d3c0d8b29278f7a","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"6062c527d0403cef27c54b91ac8390c3a497b250","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"9372aab5d0ff621ea203c8c603e7e5f75e888240","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"db46cd1e0426f52999d50fa72cfa97fa39952885","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/block/dasd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.1","versionType":"semver"},{"version":"4.14.332","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.301","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.263","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.203","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.141","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.65","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.4","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/block/dasd.c"]}],"references":["https://git.kernel.org/stable/c/ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f","https://git.kernel.org/stable/c/f75617cc8df4155374132f0b500b0b3ebb967458","https://git.kernel.org/stable/c/f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d","https://git.kernel.org/stable/c/c841de6247e94e07566d57163d3c0d8b29278f7a","https://git.kernel.org/stable/c/6062c527d0403cef27c54b91ac8390c3a497b250","https://git.kernel.org/stable/c/dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be","https://git.kernel.org/stable/c/9372aab5d0ff621ea203c8c603e7e5f75e888240","https://git.kernel.org/stable/c/db46cd1e0426f52999d50fa72cfa97fa39952885"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52774.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52774","state":"PUBLISHED","datePublished":"2024-05-21T15:30:55.593Z","dateUpdated":"2026-05-11T19:32:52.890Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-21T15:19:24.239Z"},"containers":{"cna":{"title":"s390/dasd: protect device queue against concurrent access","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/dasd: protect device queue against concurrent access\n\nIn dasd_profile_start() the amount of requests on the device queue are\ncounted. The access to the device queue is unprotected against\nconcurrent access. With a lot of parallel I/O, especially with alias\ndevices enabled, the device queue can change while dasd_profile_start()\nis accessing the queue. In the worst case this leads to a kernel panic\ndue to incorrect pointer accesses.\n\nFix this by taking the device lock before accessing the queue and\ncounting the requests. Additionally the check for a valid profile data\npointer can be done earlier to avoid unnecessary locking in a hot path."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"f75617cc8df4155374132f0b500b0b3ebb967458","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"c841de6247e94e07566d57163d3c0d8b29278f7a","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"6062c527d0403cef27c54b91ac8390c3a497b250","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"9372aab5d0ff621ea203c8c603e7e5f75e888240","versionType":"git"},{"version":"4fa52aa7a82f9226b3874a69816bda3af821f002","status":"affected","lessThan":"db46cd1e0426f52999d50fa72cfa97fa39952885","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/block/dasd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.1","versionType":"semver"},{"version":"4.14.332","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.301","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.263","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.203","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.141","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.65","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.4","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/block/dasd.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f"},{"url":"https://git.kernel.org/stable/c/f75617cc8df4155374132f0b500b0b3ebb967458"},{"url":"https://git.kernel.org/stable/c/f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d"},{"url":"https://git.kernel.org/stable/c/c841de6247e94e07566d57163d3c0d8b29278f7a"},{"url":"https://git.kernel.org/stable/c/6062c527d0403cef27c54b91ac8390c3a497b250"},{"url":"https://git.kernel.org/stable/c/dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be"},{"url":"https://git.kernel.org/stable/c/9372aab5d0ff621ea203c8c603e7e5f75e888240"},{"url":"https://git.kernel.org/stable/c/db46cd1e0426f52999d50fa72cfa97fa39952885"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:32:52.890Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"4.14.332"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"4.19.301"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"5.4.263"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"5.10.203"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"5.15.141"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"6.1.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"6.6.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"6.7"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f75617cc8df4155374132f0b500b0b3ebb967458","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c841de6247e94e07566d57163d3c0d8b29278f7a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6062c527d0403cef27c54b91ac8390c3a497b250","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/9372aab5d0ff621ea203c8c603e7e5f75e888240","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/db46cd1e0426f52999d50fa72cfa97fa39952885","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:11:35.549Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-52774","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:36:56.558292Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:32:55.198Z"}}]}}}