Details

[Home]

Issue of the Implementation # L0303

Brief

w1: improper unlocking of mutex and decrement of refcnts

Detailed Description

w1_therm_eeprom() and w1_DS18B20_precision() decrement THERM_REFCNT on error paths, while they did not increment it yet. read_therm() unlocks bus mutex on some error paths, while it is not acquired.

Component

linux-kernel 4.14

Accepted

https://lkml.org/lkml/2017/9/29/450
commit

Status

Fixed in kernel v4.15-rc1

[Home]