{"id":"CVE-2026-31501","revision":"5bd9998fa0154adb80f929d77c11e70c","records":[{"revision":"5bd9998fa0154adb80f929d77c11e70c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-31501","aliases":[],"title":"net: ti: icssg-prueth: fix use-after-free of CPPI descriptor in RX path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ti: icssg-prueth: fix use-after-free of CPPI descriptor in RX path\n\ncppi5_hdesc_get_psdata() returns a pointer into the CPPI descriptor.\nIn both emac_rx_packet() and emac_rx_packet_zc(), the descriptor is\nfreed via k3_cppi_desc_pool_free() before the psdata pointer is used\nby emac_rx_timestamp(), which dereferences psdata[0] and psdata[1].\nThis constitutes a use-after-free on every received packet that goes\nthrough the timestamp path.\n\nDefer the descriptor free until after all accesses through the psdata\npointer are complete. For emac_rx_packet(), move the free into the\nrequeue label so both early-exit and success paths free the descriptor\nafter all accesses are done. For emac_rx_packet_zc(), move the free to\nthe end of the loop body after emac_dispatch_skb_zc() (which calls\nemac_rx_timestamp()) has returned.","state":0,"publishedAt":"2026-04-22T13:54:21.749+00:00","modifiedAt":"2026-10-15T10:07:00.443+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/ti/icssg/icssg_common.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"46eeb90f03e03d5e8f7f9f1f0eb0792104fc5f86\",\n                            \"lessThan\": \"c516c2e06fe580b8d38de60cd407072a5de81506\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"46eeb90f03e03d5e8f7f9f1f0eb0792104fc5f86\",\n                            \"lessThan\": \"d5827316debcb677679bb014885d7be92c410e11\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"46eeb90f03e03d5e8f7f9f1f0eb0792104fc5f86\",\n                            \"lessThan\": \"eb8c426c9803beb171f89d15fea17505eb517714\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/ti/icssg/icssg_common.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.57\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.19.11\",\n                            \"lessThanOrEqual\": \"6.19.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/c516c2e06fe580b8d38de60cd407072a5de81506","https://git.kernel.org/stable/c/d5827316debcb677679bb014885d7be92c410e11","https://git.kernel.org/stable/c/eb8c426c9803beb171f89d15fea17505eb517714"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-31501","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-31501","identifiers":["CVE-2026-31501"]},"retained":false,"historicalAffected":[]}],"coverage":[]}