{"id":"CVE-2026-31736","summary":"net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled","details":"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-\u003enetdev[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.","modified":"2026-07-15T01:48:55.661306760Z","published":"2026-05-01T14:14:33.583Z","related":["SUSE-SU-2026:22043-1","SUSE-SU-2026:22048-1","SUSE-SU-2026:22076-1","SUSE-SU-2026:22087-1","openSUSE-SU-2026:20912-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31736.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b832aad33e6f160fda310f0306a6483d85e9d6e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5dff799c677152dde963c3917bacd9127b03e145"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b2380f0a0e374010c1a4a13203511b9dee5b166"},{"type":"WEB","url":"https://git.kernel.org/stable/c/976ff48c2ac6e6b25b01428c9d7997bcd0fb2949"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31736.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31736"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"73cfd947dbdb25ef9863ac49c4596a7d53ad4025"},{"fixed":"0b832aad33e6f160fda310f0306a6483d85e9d6e"},{"fixed":"5dff799c677152dde963c3917bacd9127b03e145"},{"fixed":"7b2380f0a0e374010c1a4a13203511b9dee5b166"},{"fixed":"976ff48c2ac6e6b25b01428c9d7997bcd0fb2949"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31736.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.81"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.22"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31736.json"}}],"schema_version":"1.7.5"}