diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-09-16 16:57:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-06 15:31:10 +0200 |
commit | 05ace2fa3c15a012aa3a07c59f1201c74b889aee (patch) | |
tree | 4db67bcecb92ad85d54725b13c04e25065344502 /fs | |
parent | 5f057dc783750b8b3ecf6c6e57b0568102c016c9 (diff) | |
download | linux-stable-05ace2fa3c15a012aa3a07c59f1201c74b889aee.tar.gz linux-stable-05ace2fa3c15a012aa3a07c59f1201c74b889aee.tar.bz2 linux-stable-05ace2fa3c15a012aa3a07c59f1201c74b889aee.zip |
usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
commit 517c7bf99bad3d6b9360558414aae634b7472d80 upstream.
This is writing to the first 1 - 3 bytes of "val" and then writing all
four bytes to musb_writel(). The last byte is always going to be
garbage. Zero out the last bytes instead.
Fixes: 550a7375fe72 ("USB: Add MUSB and TUSB support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210916135737.GI25094@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions