rtl2832_sdr: Use-after-free when unplugging busy device

2018-10-01 Thread Michał Mirosław
Hello, While testing rtl-sdr (v3) dongle, I've hit an memory corruption while unplugging the device. With KASAN enabled, I get use-after-free report from it (see below). This is on Linux v4.18.11. Best Regards, Michał Mirosław [16141.107421] usb 3-2.1: new high-speed USB device number 10 using

Re: [PATCH 00/12] Part 2: check given MAC address, if invalid return -EADDRNOTAVAIL

2012-02-24 Thread Michał Mirosław
() already does if is_valid_ether_addr() fails. Why not just fix dev_set_mac_address() and make do_setlink() use that? Checks are specific to address family, not device model I assume. Best Regards, Michał Mirosław -- To unsubscribe from this list: send the line unsubscribe linux-media in the body