{"id":"CVE-2024-53210","published":"2024-12-27T13:49:56Z","modified":"2026-05-11T20:52:58Z","title":"s390/iucv: MSG_PEEK causes memory leak in iucv_sock_destruct()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/iucv: MSG_PEEK causes memory leak in iucv_sock_destruct()\n\nPassing MSG_PEEK flag to skb_recv_datagram() increments skb refcount\n(skb->users) and iucv_sock_recvmsg() does not decrement skb refcount\nat exit.\nThis results in skb memory leak in skb_queue_purge() and WARN_ON in\niucv_sock_destruct() during socket close. To fix this decrease\nskb refcount by one if MSG_PEEK is set in order to prevent memory\nleak and WARN_ON.\n\nWARNING: CPU: 2 PID: 6292 at net/iucv/af_iucv.c:286 iucv_sock_destruct+0x144/0x1a0 [af_iucv]\nCPU: 2 PID: 6292 Comm: afiucv_test_msg Kdump: loaded Tainted: G        W          6.10.0-rc7 #1\nHardware name: IBM 3931 A01 704 (z/VM 7.3.0)\nCall Trace:\n        [<001587c682c4aa98>] iucv_sock_destruct+0x148/0x1a0 [af_iucv]\n        [<001587c682c4a9d0>] iucv_sock_destruct+0x80/0x1a0 [af_iucv]\n        [<001587c704117a32>] __sk_destruct+0x52/0x550\n        [<001587c704104a54>] __sock_release+0xa4/0x230\n        [<001587c704104c0c>] sock_close+0x2c/0x40\n        [<001587c702c5f5a8>] __fput+0x2e8/0x970\n        [<001587c7024148c4>] task_work_run+0x1c4/0x2c0\n        [<001587c7023b0716>] do_exit+0x996/0x1050\n        [<001587c7023b13aa>] do_group_exit+0x13a/0x360\n        [<001587c7023b1626>] __s390x_sys_exit_group+0x56/0x60\n        [<001587c7022bccca>] do_syscall+0x27a/0x380\n        [<001587c7049a6a0c>] __do_syscall+0x9c/0x160\n        [<001587c7049ce8a8>] system_call+0x70/0x98\n        Last Breaking-Event-Address:\n        [<001587c682c4a9d4>] iucv_sock_destruct+0x84/0x1a0 [af_iucv]","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00301,"percentile":0.15224,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/934326aef7ac4652f81c69d18bf44eebaefc39c3","tags":[]},{"url":"https://git.kernel.org/stable/c/42251c2d1ef1cb0822638bebb87ad9120c759673","tags":[]},{"url":"https://git.kernel.org/stable/c/783c2c6e61c5a04eb8baea598753d5fa174dbe85","tags":[]},{"url":"https://git.kernel.org/stable/c/9f603e66e1c59c1d25e60eb0636cb307d190782e","tags":[]},{"url":"https://git.kernel.org/stable/c/ebaf81317e42aa990ad20b113cfe3a7b20d4e937","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.04},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= eac3731bd04c7131478722a3c148b78774553116, < 934326aef7ac4652f81c69d18bf44eebaefc39c3",">= eac3731bd04c7131478722a3c148b78774553116, < 42251c2d1ef1cb0822638bebb87ad9120c759673",">= eac3731bd04c7131478722a3c148b78774553116, < 783c2c6e61c5a04eb8baea598753d5fa174dbe85",">= eac3731bd04c7131478722a3c148b78774553116, < 9f603e66e1c59c1d25e60eb0636cb307d190782e",">= eac3731bd04c7131478722a3c148b78774553116, < ebaf81317e42aa990ad20b113cfe3a7b20d4e937"]},{"vendor":"Linux","product":"Linux","versions":["2.6.21"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:03:40.043157Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-51882","exploited":false,"provenance":"source"}}