{"id":"CVE-2024-26856","aliases":["CVE-2024-26856"],"related":[],"kind":"vulnerability","state":"published","title":"net: sparx5: Fix use after free inside sparx5_del_mact_entry","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: Fix use after free inside sparx5_del_mact_entry\n\nBased on the static analyzis of the code it looks like when an entry\nfrom the MAC table was removed, the entry was still used after being\nfreed. More precise the vid of the mac_entry was used after calling\ndevm_kfree on the mac_entry.\nThe fix consists in first using the vid of the mac_entry to delete the\nentry from the HW and after that to free it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: Fix use after free inside sparx5_del_mact_entry\n\nBased on the static analyzis of the code it looks like when an entry\nfrom the MAC table was removed, the entry was still used after being\nfreed. More precise the vid of the mac_entry was used after calling\ndevm_kfree on the mac_entry.\nThe fix consists in first using the vid of the mac_entry to delete the\nentry from the HW and after that to free it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: sparx5: corrige el use after free dentro de sparx5_del_mact_entry Según el análisis estático del código, parece que cuando se eliminó una entrada de la tabla MAC, la entrada todavía se usó después de ser liberado. Más precisamente, el video de mac_entry se usó después de llamar a devm_kfree en mac_entry. La solución consiste en utilizar primero el vid de mac_entry para eliminar la entrada del HW y luego liberarla.","source":"nvd"}],"published":"2024-04-17T10:17:18.475Z","modified":"2026-08-05T11:27:50.303Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2","fixed":"e46274df1100fb0c06704195bfff5bfbd418bf64","status":"affected"},{"type":"git","introduced":"b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2","fixed":"0de693d68b0a18d5e256556c7c62d92cca35ad52","status":"affected"},{"type":"git","introduced":"b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2","fixed":"e83bebb718fd1f42549358730e1206164e0861d6","status":"affected"},{"type":"git","introduced":"b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2","fixed":"71809805b95052ff551922f11660008fb3666025","status":"affected"},{"type":"git","introduced":"b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2","fixed":"89d72d4125e94aa3c2140fedd97ce07ba9e37674","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.152","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.82","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.22","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.10","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","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":"5.14","fixed":"5.15.152"},{"status":"affected","introduced":"5.16","fixed":"6.1.82"},{"status":"affected","introduced":"6.2","fixed":"6.6.22"},{"status":"affected","introduced":"6.7","fixed":"6.7.10"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-01T19:36:26.233Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26856","url":"https://www.cve.org/CVERecord?id=CVE-2024-26856","licence":"CVE Terms of Use","modified":"2026-08-05T11:27:50.303Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26856","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26856","licence":"Public domain","modified":"2026-08-04T11:17:13.770Z"}],"updatedAt":"2026-11-25T22:58:39.359Z","epss":{"score":0.00322,"percentile":0.27217,"date":"2026-12-01T12:00:22.000Z"}}