{"id":"CVE-2024-38544","aliases":["CVE-2024-38544"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix seg fault in rxe_comp_queue_pkt\n\nIn rxe_comp_queue_pkt() an incoming response packet skb is enqueued to the\nresp_pkts queue and then a decision is made whether to run the completer\ntask inline or schedule it. Finally the skb is dereferenced to bump a 'hw'\nperformance counter. This is wrong because if the completer task is\nalready running in a separate thread it may have already processed the skb\nand freed it which can cause a seg fault.  This has been observed\ninfrequently in testing at high scale.\n\nThis patch fixes this by changing the order of enqueuing the packet until\nafter the counter is accessed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix seg fault in rxe_comp_queue_pkt\n\nIn rxe_comp_queue_pkt() an incoming response packet skb is enqueued to the\nresp_pkts queue and then a decision is made whether to run the completer\ntask inline or schedule it. Finally the skb is dereferenced to bump a 'hw'\nperformance counter. This is wrong because if the completer task is\nalready running in a separate thread it may have already processed the skb\nand freed it which can cause a seg fault.  This has been observed\ninfrequently in testing at high scale.\n\nThis patch fixes this by changing the order of enqueuing the packet until\nafter the counter is accessed.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: RDMA/rxe: corrige la falla de segmentación en rxe_comp_queue_pkt En rxe_comp_queue_pkt(), un paquete de respuesta entrante skb se pone en cola en la cola resp_pkts y luego se toma una decisión si se ejecuta la tarea de finalización en línea o programarla. Finalmente, se elimina la referencia al skb para aumentar un contador de rendimiento 'hw'. Esto es incorrecto porque si la tarea de finalización ya se está ejecutando en un hilo separado, es posible que ya haya procesado el skb y lo haya liberado, lo que puede causar una falla de segmentación. Esto se ha observado con poca frecuencia en pruebas a gran escala. Este parche soluciona este problema cambiando el orden de poner en cola el paquete hasta que se accede al contador.","source":"nvd"}],"published":"2024-06-19T13:35:18.676Z","modified":"2026-08-05T11:32:41.788Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"c91fb72a2ca6480d8d77262eef52dc5b178463a3","status":"affected"},{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"de5a059e36657442b5637cc16df5163e435b9cb4","status":"affected"},{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"e0e14dd35d4242340c7346aac60c7ff8fbf87ffc","status":"affected"},{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19","status":"affected"},{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"21b4c6d4d89030fd4657a8e7c8110fd941049794","status":"affected"},{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"bbad88f111a1829f366c189aa48e7e58e57553fc","status":"affected"},{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"30df4bef8b8e183333e9b6e9d4509d552c7da6eb","status":"affected"},{"type":"git","introduced":"0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0","fixed":"2b23b6097303ed0ba5f4bc036a1c07b6027af5c6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.227","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.12","lastAffected":"6.8.*","status":"unaffected"},{"type":"semver","introduced":"6.9.3","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.12","fixed":"5.4.285"},{"status":"affected","introduced":"5.5","fixed":"5.10.227"},{"status":"affected","introduced":"5.11","fixed":"5.15.168"},{"status":"affected","introduced":"5.16","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.8.12"},{"status":"affected","introduced":"6.9","fixed":"6.9.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c91fb72a2ca6480d8d77262eef52dc5b178463a3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/de5a059e36657442b5637cc16df5163e435b9cb4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0e14dd35d4242340c7346aac60c7ff8fbf87ffc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21b4c6d4d89030fd4657a8e7c8110fd941049794","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbad88f111a1829f366c189aa48e7e58e57553fc","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30df4bef8b8e183333e9b6e9d4509d552c7da6eb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b23b6097303ed0ba5f4bc036a1c07b6027af5c6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-20T15:44:10.125Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38544","url":"https://www.cve.org/CVERecord?id=CVE-2024-38544","licence":"CVE Terms of Use","modified":"2026-08-05T11:32:41.788Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38544","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38544","licence":"Public domain","modified":"2026-08-04T11:18:42.570Z"}],"updatedAt":"2026-11-25T22:58:42.008Z","epss":{"score":0.00815,"percentile":0.58229,"date":"2026-12-01T12:00:22.000Z"}}