~vicamo/+git/ubuntu-kernel:bug-1864284/check-disconnect-status/focal

Last commit made on 2020-02-23
Get this branch:
git clone -b bug-1864284/check-disconnect-status/focal https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1864284/check-disconnect-status/focal
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

217aeac... by You-Sheng Yang

Bug 1864284: r8152 blocks USB reset during hotplugs of Dell WD19/WD19DC

7089b19... by You-Sheng Yang

r8151: check disconnect status after sleep

Signed-off-by: You-Sheng Yang <email address hidden>

97a41c9... by Gayatri Kammela <email address hidden>

thermal: intel: intel_pch_thermal: Add Comet Lake (CML) platform support

BugLink: https://bugs.launchpad.net/bugs/1853219

Add Comet Lake to the list of the platforms to support intel_pch_thermal
driver.

Cc: Zhang rui <email address hidden>
Cc: Srinivas Pandruvada <email address hidden>
Signed-off-by: Gayatri Kammela <email address hidden>
Acked-by: Zhang Rui <email address hidden>
Signed-off-by: Daniel Lezcano <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 35709c4ee772afc3818cd6d42d123d608feeaa33)
Signed-off-by: You-Sheng Yang <email address hidden>
Acked-by: Kleber Souza <email address hidden>
Acked-by: Po-Hsu Lin <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>

64bb190... by Tyler Hicks

Revert "UBUNTU: SAUCE: (lockdown) Add a SysRq option to lift kernel lockdown"

BugLink: https://bugs.launchpad.net/bugs/1861238

This reverts commit de4a78d3b642e5504b28e901b07eb4da6784dd3d.

The original intent behind Lockdown's SysRq support was that the SysRq
command to lift Lockdown would only be honored if the command was
physically entered on a keyboard. Attempts to synthetically generate the
SysRq command, by a software program, were to be ignored since software,
even running as root, must not have the authorization to lift Lockdown.

Unfortunately, attempts to detect a synthetic SysRq command can be
thwarted by a privileged process that is able to set up a USB/IP
connection as the USB/IP connection could be used to lift Lockdown.

Remove the ability to lift Lockdown using SysRq.

Signed-off-by: Tyler Hicks <email address hidden>
Acked-by: Sultan Alsawaf <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>

d246a6c... by Sultan Alsawaf

UBUNTU: SAUCE: drm/i915: Disable PSR by default on all platforms

BugLink: https://bugs.launchpad.net/bugs/1849947

On all Dell laptops with screens and chipsets that support PSR, both
PSR1 and PSR2 cause flickering and graphical glitches. Many laptops
don't support PSR so it isn't known if PSR works correctly on any
consumer hardware. PSR was enabled by default in 5.0 for capable
hardware, so this patch just restores the previous functionality of PSR
being disabled by default.

More info is available on the freedesktop bug:
https://gitlab.freedesktop.org/drm/intel/issues/425

Signed-off-by: Sultan Alsawaf <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Acked-by: Kamal Mostafa <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>

7147dd2... by Greg Kroah-Hartman <email address hidden>

Linux 5.4.20

BugLink: https://bugs.launchpad.net/bugs/1863589

Signed-off-by: Paolo Pisati <email address hidden>

a9c3238... by Stephen Smalley <email address hidden>

selinux: fall back to ref-walk if audit is required

BugLink: https://bugs.launchpad.net/bugs/1863589

commit 0188d5c025ca8fe756ba3193bd7d150139af5a88 upstream.

commit bda0be7ad994 ("security: make inode_follow_link RCU-walk aware")
passed down the rcu flag to the SELinux AVC, but failed to adjust the
test in slow_avc_audit() to also return -ECHILD on LSM_AUDIT_DATA_DENTRY.
Previously, we only returned -ECHILD if generating an audit record with
LSM_AUDIT_DATA_INODE since this was only relevant from inode_permission.
Move the handling of MAY_NOT_BLOCK to avc_audit() and its inlined
equivalent in selinux_inode_permission() immediately after we determine
that audit is required, and always fall back to ref-walk in this case.

Fixes: bda0be7ad994 ("security: make inode_follow_link RCU-walk aware")
Reported-by: Will Deacon <email address hidden>
Suggested-by: Al Viro <email address hidden>
Signed-off-by: Stephen Smalley <email address hidden>
Signed-off-by: Paul Moore <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

Signed-off-by: Paolo Pisati <email address hidden>

4abb4d0... by Nicolai Stange <email address hidden>

libertas: make lbs_ibss_join_existing() return error code on rates overflow

BugLink: https://bugs.launchpad.net/bugs/1863589

[ Upstream commit 1754c4f60aaf1e17d886afefee97e94d7f27b4cb ]

Commit e5e884b42639 ("libertas: Fix two buffer overflows at parsing bss
descriptor") introduced a bounds check on the number of supplied rates to
lbs_ibss_join_existing() and made it to return on overflow.

However, the aforementioned commit doesn't set the return value accordingly
and thus, lbs_ibss_join_existing() would return with zero even though it
failed.

Make lbs_ibss_join_existing return -EINVAL in case the bounds check on the
number of supplied rates fails.

Fixes: e5e884b42639 ("libertas: Fix two buffer overflows at parsing bss descriptor")
Signed-off-by: Nicolai Stange <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>

6990dd3... by Nicolai Stange <email address hidden>

libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held

BugLink: https://bugs.launchpad.net/bugs/1863589

[ Upstream commit c7bf1fb7ddca331780b9a733ae308737b39f1ad4 ]

Commit e5e884b42639 ("libertas: Fix two buffer overflows at parsing bss
descriptor") introduced a bounds check on the number of supplied rates to
lbs_ibss_join_existing().

Unfortunately, it introduced a return path from within a RCU read side
critical section without a corresponding rcu_read_unlock(). Fix this.

Fixes: e5e884b42639 ("libertas: Fix two buffer overflows at parsing bss descriptor")
Signed-off-by: Nicolai Stange <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>

0856348... by Qing Xu <email address hidden>

mwifiex: Fix possible buffer overflows in mwifiex_cmd_append_vsie_tlv()

BugLink: https://bugs.launchpad.net/bugs/1863589

[ Upstream commit b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d ]

mwifiex_cmd_append_vsie_tlv() calls memcpy() without checking
the destination size may trigger a buffer overflower,
which a local user could use to cause denial of service
or the execution of arbitrary code.
Fix it by putting the length check before calling memcpy().

Signed-off-by: Qing Xu <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>