CVE-2026-43218 PUBLISHED

media: i2c/tw9903: Fix potential memory leak in tw9903_probe()

Assigner: Linux
Reserved: 01.05.2026 Published: 06.05.2026 Updated: 06.05.2026

In the Linux kernel, the following vulnerability has been resolved:

media: i2c/tw9903: Fix potential memory leak in tw9903_probe()

In one of the error paths in tw9903_probe(), the memory allocated in v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that by calling v4l2_ctrl_handler_free() on the handler in that error path.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to e54aa17c968c4de2c5f7b7ea390c63d33c07513b (excl.)
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to 32f0493506313775d3bd448de34762b6538da6bd (excl.)
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to 92537a15780b6d0281fd8286f93fbc3652e35f48 (excl.)
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to 9cb9eca33d20316ed3c7a938793b8735ac3e128b (excl.)
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to a114918270f0d95c607d69b03a244e6afe54813f (excl.)
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to cc7aeed33e4f55c76f35f0fca73e4dfe12a63a3a (excl.)
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to add02a3fb1fd71b004f0ed824cbac00f850de558 (excl.)
  • affected from 0890ec19c65def8c8e445931b026e0fa8d809a34 to 9cea16fea47e5553f51d10957677ff735b1eff03 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.10 is affected
  • unaffected from 0 to 3.10 (excl.)
  • unaffected from 5.10.252 to 5.10.* (incl.)
  • unaffected from 5.15.202 to 5.15.* (incl.)
  • unaffected from 6.1.165 to 6.1.* (incl.)
  • unaffected from 6.6.128 to 6.6.* (incl.)
  • unaffected from 6.12.75 to 6.12.* (incl.)
  • unaffected from 6.18.16 to 6.18.* (incl.)
  • unaffected from 6.19.6 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References