{"id":"CVE-2026-31736","aliases":["CVE-2026-31736"],"related":[],"kind":"vulnerability","state":"published","title":"net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled\n\nIf the gmac0 is disabled, the precheck for a valid ingress device will\ncause a NULL pointer deref and crash the system. This happens because\neth->netdev[0] will be NULL but the code will directly try to access\nnetdev_ops.\n\nInstead of just checking for the first net_device, it must be checked if\nany of the mtk_eth net_devices is matching the netdev_ops of the ingress\ndevice.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled\n\nIf the gmac0 is disabled, the precheck for a valid ingress device will\ncause a NULL pointer deref and crash the system. This happens because\neth->netdev[0] will be NULL but the code will directly try to access\nnetdev_ops.\n\nInstead of just checking for the first net_device, it must be checked if\nany of the mtk_eth net_devices is matching the netdev_ops of the ingress\ndevice.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nnet: ethernet: mtk_ppe: evitar la desreferencia nula cuando gmac0 está deshabilitado\n\nSi gmac0 está deshabilitado, la verificación previa de un dispositivo de entrada válido causará una desreferencia de puntero NULL y bloqueará el sistema. Esto ocurre porque eth  ->  netdev[0] será NULL, pero el código intentará acceder directamente a netdev_ops.\n\nEn lugar de solo verificar el primer net_device, se debe comprobar si alguno de los net_devices de mtk_eth coincide con las netdev_ops del dispositivo de entrada.","source":"nvd"}],"published":"2026-05-01T14:14:33.583Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"73cfd947dbdb25ef9863ac49c4596a7d53ad4025","fixed":"0b832aad33e6f160fda310f0306a6483d85e9d6e","status":"affected"},{"type":"git","introduced":"73cfd947dbdb25ef9863ac49c4596a7d53ad4025","fixed":"5dff799c677152dde963c3917bacd9127b03e145","status":"affected"},{"type":"git","introduced":"73cfd947dbdb25ef9863ac49c4596a7d53ad4025","fixed":"7b2380f0a0e374010c1a4a13203511b9dee5b166","status":"affected"},{"type":"git","introduced":"73cfd947dbdb25ef9863ac49c4596a7d53ad4025","fixed":"976ff48c2ac6e6b25b01428c9d7997bcd0fb2949","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.81","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","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":"6.11","fixed":"6.12.81"},{"status":"affected","introduced":"6.13","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0b832aad33e6f160fda310f0306a6483d85e9d6e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5dff799c677152dde963c3917bacd9127b03e145","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b2380f0a0e374010c1a4a13203511b9dee5b166","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/976ff48c2ac6e6b25b01428c9d7997bcd0fb2949","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31736","url":"https://www.cve.org/CVERecord?id=CVE-2026-31736","licence":"CVE Terms of Use","modified":"2026-05-11T22:14:45.998Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31736","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31736","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.359Z","epss":{"score":0.00127,"percentile":0.02535,"date":"2026-12-01T12:00:22.000Z"}}