~mreed8855/ubuntu/+source/linux/+git/mantic:lp_2046722_megaraid_sas_update

Last commit made on 2024-02-20
Get this branch:
git clone -b lp_2046722_megaraid_sas_update https://git.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/mantic
Only Michael Reed can upload to this branch. If you are Michael Reed please log in for upload directions.

Branch merges

Branch information

Name:
lp_2046722_megaraid_sas_update
Repository:
lp:~mreed8855/ubuntu/+source/linux/+git/mantic

Recent commits

2a7c023... by Chandrakanth Patil

scsi: megaraid_sas: Driver version update to 07.727.03.00-rc1

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

Driver version update.

Signed-off-by: Chandrakanth patil <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 0938f9fa4208a41a7358eac344fc56b9fd8398dc)
Signed-off-by: Michael Reed <email address hidden>

d4fdd15... by Chandrakanth Patil

scsi: megaraid_sas: Log message when controller reset is requested but not issued

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

The driver now includes the print message 'IO is completed, no reset is
required' when a reset is requested but not issued. This message is
displayed only when pending SCSI IO is completed before issuing the reset.

Signed-off-by: Chandrakanth patil <email address hidden>
Signed-off-by: Sumit Saxena <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 2d83fb023c90d4db3ada82f12951cb0c69be9cbc)
Signed-off-by: Michael Reed <email address hidden>

bf38f2d... by John Johansen

apparmor: Fix move_mount mediation by detecting if source is detached

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

Prevent move_mount from applying the attach_disconnected flag
to move_mount(). This prevents detached mounts from appearing
as / when applying mount mediation, which is not only incorrect
but could result in bad policy being generated.

Basic mount rules like
  allow mount,
  allow mount options=(move) -> /target/,

will allow detached mounts, allowing older policy to continue
to function. New policy gains the ability to specify `detached` as
a source option
  allow mount detached -> /target/,

In addition make sure support of move_mount is advertised as
a feature to userspace so that applications that generate policy
can respond to the addition.

Note: this fixes mediation of move_mount when a detached mount is used,
      it does not fix the broader regression of apparmor mediation of
      mounts under the new mount api.

Link: https://<email address hidden>/T/#mb35fdde37f999f08f0b02d58dc1bf4e6b65b8da2
Fixes: 157a3537d6bc ("apparmor: Fix regression in mount mediation")
Reviewed-by: Georgia Garcia <email address hidden>
Signed-off-by: John Johansen <email address hidden>

(cherry picked from commit 8026e40608b4d552216d2a818ca7080a4264bb44)
Signed-off-by: Georgia Garcia <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

c1946c6... by Jan Beulich <email address hidden>

xen-netback: don't produce zero-size SKB frags

While frontends may submit zero-size requests (wasting a precious slot),
core networking code as of at least 3ece782693c4b ("sock: skb_copy_ubufs
support for compound pages") can't deal with SKBs when they have all
zero-size fragments. Respond to empty requests right when populating
fragments; all further processing is fragment based and hence won't
encounter these empty requests anymore.

In a way this should have been that way from the beginning: When no data
is to be transferred for a particular request, there's not even a point
in validating the respective grant ref. That's no different from e.g.
passing NULL into memcpy() when at the same time the size is 0.

This is XSA-448 / CVE-2023-46838.

Cc: <email address hidden>
Signed-off-by: Jan Beulich <email address hidden>
Reviewed-by: Juergen Gross <email address hidden>
Reviewed-by: Paul Durrant <email address hidden>

CVE-2023-46838
(cherry picked from commit c7ec4f2d684e17d69bbdd7c4324db0ef5daac26a)
Signed-off-by: Bethany Jamison <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

837ad3d... by Florian Westphal <email address hidden>

netfilter: nf_tables: reject QUEUE/DROP verdict parameters

This reverts commit e0abdadcc6e1.

core.c:nf_hook_slow assumes that the upper 16 bits of NF_DROP
verdicts contain a valid errno, i.e. -EPERM, -EHOSTUNREACH or similar,
or 0.

Due to the reverted commit, its possible to provide a positive
value, e.g. NF_ACCEPT (1), which results in use-after-free.

Its not clear to me why this commit was made.

NF_QUEUE is not used by nftables; "queue" rules in nftables
will result in use of "nft_queue" expression.

If we later need to allow specifiying errno values from userspace
(do not know why), this has to call NF_DROP_GETERR and check that
"err <= 0" holds true.

Fixes: e0abdadcc6e1 ("netfilter: nf_tables: accept QUEUE/DROP verdict parameters")
Cc: <email address hidden>
Reported-by: Notselwyn <email address hidden>
Signed-off-by: Florian Westphal <email address hidden>
Signed-off-by: Pablo Neira Ayuso <email address hidden>

CVE-2024-1086
(cherry picked from commit f342de4e2f33e0e39165d8639387aa6c19dff660)
Signed-off-by: Bethany Jamison <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

5e04ab9... by Kai-Heng Feng

Bluetooth: Enforce validation on max value of connection interval

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

Right now Linux BT stack cannot pass test case "GAP/CONN/CPUP/BV-05-C
'Connection Parameter Update Procedure Invalid Parameters Central
Responder'" in Bluetooth Test Suite revision GAP.TS.p44. [0]

That was revoled by commit c49a8682fc5d ("Bluetooth: validate BLE
connection interval updates"), but later got reverted due to devices
like keyboards and mice may require low connection interval.

So only validate the max value connection interval to pass the Test
Suite, and let devices to request low connection interval if needed.

[0] https://www.bluetooth.org/docman/handlers/DownloadDoc.ashx?doc_id=229869
Fixes: 68d19d7d9957 ("Revert "Bluetooth: validate BLE connection interval updates"")

Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Luiz Augusto von Dentz <email address hidden>
(cherry picked from commit 9434e62334d5030e442c2be1fd96aad8816052a5 linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Roxana Nicolescu <email address hidden>

709f288... by Bin Li

ALSA: hda/realtek: Enable headset mic on Lenovo M70 Gen5

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

Lenovo M70 Gen5 is equipped with ALC623, and it needs
ALC283_FIXUP_HEADSET_MIC quirk to make its headset mic work.

Signed-off-by: Bin Li <email address hidden>
Cc: <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit fb3c007fde80d9d3b4207943e74c150c9116cead)
Signed-off-by: Aaron Ma <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Manuel Diewald <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Roxana Nicolescu <email address hidden>

ce6a221... by Kai-Heng Feng

HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend

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

There's a Cirque touchpad that wakes system up without anything touched
the touchpad. The input report is empty when this happens.
The reason is stated in HID over I2C spec, 7.2.8.2:
"If the DEVICE wishes to wake the HOST from its low power state, it can
issue a wake by asserting the interrupt."

This is fine if OS can put system back to suspend by identifying input
wakeup count stays the same on resume, like Chrome OS Dark Resume [0].
But for regular distro such policy is lacking.

Though the change doesn't bring any impact on power consumption for
touchpad is minimal, other i2c-hid device may depends on SLEEP control
power. So use a quirk to limit the change scope.

[0] https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/docs/dark_resume.md

Signed-off-by: Kai-Heng Feng <email address hidden>
Reviewed-by: Douglas Anderson <email address hidden>
Signed-off-by: Jiri Kosina <email address hidden>
(cherry picked from commit 26dd6a5667f500c5d991f90a9ac5998a71afaf5c linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Roxana Nicolescu <email address hidden>

0194b90... by Hans de Goede <email address hidden>

HID: i2c-hid: Renumber I2C_HID_QUIRK_ defines

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

The quirks variable and the I2C_HID_QUIRK_ defines are never used /
exported outside of the i2c-hid code renumber them to start at
BIT(0) again.

Reviewed-by: Douglas Anderson <email address hidden>
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Jiri Kosina <email address hidden>
(cherry picked from commit 7d7a252842ecafb9b4541dc8470907e97bc6df62)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Roxana Nicolescu <email address hidden>

3dc87a4... by Hans de Goede <email address hidden>

HID: i2c-hid: Remove I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk

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

Re-trying the power-on command on failure on all devices should
not be a problem, drop the I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk
and simply retry power-on on all devices.

Reviewed-by: Douglas Anderson <email address hidden>
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Jiri Kosina <email address hidden>
(cherry picked from commit bd008acdac45011f2246ec2518ef19c2da9e6008)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Roxana Nicolescu <email address hidden>