Heinrich Schuchardt
ebb8ff61ad
net: phy: possible NULL dereference in fixed_phy_create()
...
We check if phydev is NULL. Only but if it is non-NULL we set one
component of phydev. But even if it is NULL we set another. We should not
dereference NULL in either case.
Fixes: e24b58f5ed4f ("net: phy: don't require PHY interface mode during PHY creation")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Marek Behún <kabel@kernel.org>
2022-08-08 11:37:57 -04:00
..
2022-06-14 21:25:26 +02:00
2022-04-10 08:44:13 +03:00
2022-04-10 08:44:12 +03:00
2021-08-02 13:32:14 -04:00
2020-05-18 21:19:23 -04:00
2021-01-27 10:47:47 -05:00
2021-12-27 08:40:33 -05:00
2018-07-26 14:08:22 -05:00
2022-04-10 08:44:12 +03:00
2022-01-15 18:50:16 +02:00
2018-05-07 09:34:12 -04:00
2022-04-15 08:10:32 -04:00
2021-04-15 14:22:17 +05:30
2018-07-26 14:08:22 -05:00
2022-08-04 16:18:48 -04:00
2018-07-26 14:08:22 -05:00
2022-04-15 08:10:32 -04:00
2022-08-08 10:50:20 -04:00
2021-09-30 08:08:56 -04:00
2020-06-12 13:17:23 -04:00
2021-01-27 10:47:54 -05:00
2021-02-02 15:33:42 -05:00
2021-11-23 09:57:55 +02:00
2020-05-18 21:19:23 -04:00
2021-08-02 13:32:14 -04:00
2018-07-26 14:08:22 -05:00
2020-05-18 21:19:18 -04:00
2022-04-12 19:10:44 +02:00
2022-04-12 19:10:44 +02:00
2022-08-08 11:37:57 -04:00
2021-11-23 09:57:56 +02:00
2018-07-26 14:08:22 -05:00
2020-05-18 21:19:23 -04:00
2022-01-15 18:50:16 +02:00
2022-01-15 18:50:16 +02:00
2018-07-26 14:08:22 -05:00
2022-04-10 08:44:13 +03:00
2020-05-18 21:19:18 -04:00