~ubuntu-kernel/ubuntu/+source/linux/+git/noble:master-next

Last commit made on 2025-01-24
Get this branch:
git clone -b master-next https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble
Members of Ubuntu Kernel Repositories can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

0898548... by Zicheng Qu <email address hidden>

staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()

In the ad9832_write_frequency() function, clk_get_rate() might return 0.
This can lead to a division by zero when calling ad9832_calc_freqreg().
The check if (fout > (clk_get_rate(st->mclk) / 2)) does not protect
against the case when fout is 0. The ad9832_write_frequency() function
is called from ad9832_write(), and fout is derived from a text buffer,
which can contain any value.

Link: https://lore.kernel.org/all/2024100904-CVE-2024-47663-9bdc@gregkh/
Fixes: ea707584bac1 ("Staging: IIO: DDS: AD9832 / AD9835 driver")
Cc: <email address hidden>
Signed-off-by: Zicheng Qu <email address hidden>
Reviewed-by: Nuno Sa <email address hidden>
Reviewed-by: Dan Carpenter <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Jonathan Cameron <email address hidden>

CVE-2024-50233
(cherry picked from commit 6bd301819f8f69331a55ae2336c8b111fc933f3d)
Signed-off-by: Massimiliano Pellizzer <email address hidden>
Acked-by: Manuel Diewald <email address hidden>
Acked-by: Magali Lemes <email address hidden>
Signed-off-by: Koichiro Den <email address hidden>

da7e468... by Andy Shevchenko <email address hidden>

mtd: core: Align comment with an action in mtd_otp_nvmem_add()

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

The comment is related to the non-error case, make it more clear
by inverting the condition. It also makes code neater at the end.

Signed-off-by: Andy Shevchenko <email address hidden>
Reviewed-by: Pratyush Yadav <email address hidden>
Signed-off-by: Miquel Raynal <email address hidden>
Link: https://lore<email address hidden>
(cherry picked from commit 5043e5553601504995300c98141230f5edd11933)
Signed-off-by: Aaron Ma <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Tim Whisonant <email address hidden>
Signed-off-by: Koichiro Den <email address hidden>

3e5965d... by Aapo Vienamo <email address hidden>

mtd: core: Don't fail mtd_otp_nvmem_add() if OTP is unsupported

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

Handle the case where -EOPNOTSUPP is returned from OTP driver.

This addresses an issue that occurs with the Intel SPI flash controller,
which has a limited supported opcode set. Whilst the OTP functionality
is not available due to this restriction, other parts of the MTD
functionality of the device are intact. This change allows the driver
to gracefully handle the restriction by allowing the supported
functionality to remain available instead of failing the probe
altogether.

Signed-off-by: Aapo Vienamo <email address hidden>
Reviewed-by: Mika Westerberg <email address hidden>
Reviewed-by: Michael Walle <email address hidden>
Signed-off-by: Miquel Raynal <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit fe0b8213c0129ff2419458343d8d8e716b1495c0)
Signed-off-by: Aaron Ma <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Tim Whisonant <email address hidden>
Signed-off-by: Koichiro Den <email address hidden>

930c654... by Mehmet Basaran

UBUNTU: Ubuntu-6.8.0-53.55

Signed-off-by: Mehmet Basaran <email address hidden>

f313150... by Mehmet Basaran

UBUNTU: [Packaging] debian.master/dkms-versions -- update from kernel-versions (main/2025.01.13)

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Mehmet Basaran <email address hidden>

776edd3... by Mehmet Basaran

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/2093677
Properties: no-test-build
Signed-off-by: Mehmet Basaran <email address hidden>

3a8a3b4... by Luca Boccassi

UBUNTU: [Packaging] do not attempt to generate BTF header on armhf

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

armhf does not have working BTF for now, so create an empty header file
like Debian does for now, to be dropped once that issue is fixed.

Follow-up for aefbe1e1a9a1d3ed84bceac7e9739a92e1345f58

Signed-off-by: Luca Boccassi <email address hidden>

[ add do_tools_bpftool_stub to avoid hardcoding the arch in rules ]
Signed-off-by: Timo Aaltonen <email address hidden>
(cherry-picked from commit 0c32444afa9bd036e66cbc8c05dbd8df8388bc6f oracular:linux)
Signed-off-by: Mehmet Basaran <email address hidden>

dede9e7... by Alexey Makhalov <email address hidden>

x86/vmware: Remove legacy VMWARE_HYPERCALL* macros

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

No more direct use of these macros should be allowed. The vmware_hypercallX API
still uses the new implementation of VMWARE_HYPERCALL macro internally, but it
is not exposed outside of the vmware.h.

Signed-off-by: Alexey Makhalov <email address hidden>
Signed-off-by: Borislav Petkov (AMD) <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 9dfb18031f0df2378b3d33a13fc485ef89caa285)
Signed-off-by: Thibault Ferrante <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Juerg Haefliger <email address hidden>
Signed-off-by: Mehmet Basaran <email address hidden>

438bf74... by Alexey Makhalov <email address hidden>

x86/vmware: Correct macro names

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

VCPU_RESERVED and LEGACY_X2APIC are not VMware hypercall commands. These are
bits in the return value of the VMWARE_CMD_GETVCPU_INFO command. Change
VMWARE_CMD_ prefix to GETVCPU_INFO_ one. And move the bit-shift
operation into the macro body.

Fixes: 4cca6ea04d31c ("x86/apic: Allow x2apic without IR on VMware platform")
Signed-off-by: Alexey Makhalov <email address hidden>
Signed-off-by: Borislav Petkov (AMD) <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 86cb65448d07fe516e18d9512ae5786cd90db9bf)
Signed-off-by: Thibault Ferrante <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Juerg Haefliger <email address hidden>
Signed-off-by: Mehmet Basaran <email address hidden>

f33e21c... by Alexey Makhalov <email address hidden>

x86/vmware: Use VMware hypercall API

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

Remove VMWARE_CMD macro and move to vmware_hypercall API.
No functional changes intended.

Use u32/u64 instead of uint32_t/uint64_t across the file.

Signed-off-by: Alexey Makhalov <email address hidden>
Signed-off-by: Borislav Petkov (AMD) <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit b2c13c23ea9c1f748315b8c2c028bb3ae18f1e12)
Signed-off-by: Thibault Ferrante <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Juerg Haefliger <email address hidden>
Signed-off-by: Mehmet Basaran <email address hidden>