Re: [GIT PULL] libata fixes for 5.16-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19.11.2021 22:06, Linus Torvalds wrote:

On 19.11.2021 11:49, Damien Le Moal wrote:
Baokun Li (2):
        sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
        sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl

     At least this one needs fixing! You were too fast at merging... :-/
     Well, I guess this will need a follow-up fix now...

Hmm. I'm missing the context, but considering this note I have skipped
> this libata pull request.

The patch replaced irq_of_parse_and_map() with platform_get_irq() but didn't update the error check from (!irq) to (irq < 0)... Quite frequent mistake in the past; it actually helps if you look at the function itself
before starting to use it. :-)

[...]

MBR, Sergei



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux