Description
In the Linux kernel, the following vulnerability has been resolved: i2c: dev: check return value when calling dev_set_name() If dev_set_name() fails, the dev_name() is null, check the return value of dev_set_name() to avoid the null-ptr-deref.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1413ef638abae4ab5621901cf4d8ef08a4a48ba6 to < 2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2affected1413ef638abae4ab5621901cf4d8ef08a4a48ba6 to < 2f345bb14ad4744950499ff222e2899209297afaaffected1413ef638abae4ab5621901cf4d8ef08a4a48ba6 to < c74d77a2d07744147d734138acd6ce9dba715e5daffected1413ef638abae4ab5621901cf4d8ef08a4a48ba6 to < 993eb48fa199b5f476df8204e652eff63dd19361affected1c1b4327970c79c1a2d0c3becfc12b9696177c55affectedc0d34399045609eda76882fa6d01fdfaf5b20d38affectedf1f3b4150baf7c3aa6b4e6b81b8ff1909996d507affecteda612c4ece2eb757011ae88a8410b48e523220b8daffected1bed86cfe5cb4529d036a14980d379aee8539982affected8a231148135d2d08a3ef721d438cd468ea4209d2affected4.4.225 to < 4.5affected4.9.225 to < 4.10affected4.14.182 to < 4.15affected4.19.125 to < 4.20affected5.4.43 to < 5.5affected5.6.15 to < 5.7affected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.236 to ≤ 5.10.*unaffected5.15.35 to ≤ 5.15.*unaffected5.17.4 to ≤ 5.17.*unaffected5.18 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2 ↗
- https://git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afa ↗
- https://git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5d ↗
- https://git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361 ↗
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html ↗