added check for port num and channel iteration are lessthan 8
to avoid out of bound write to 8x8 map array.
Change-Id: I4c6fe13a5eb09be623a1c40ce16c5a5e4246e021
Signed-off-by: Abinath S <quic_abins@quicinc.com>
there is no check for cvs_voc_pkt[2],when recieves
0xffffffff from ADSP which results in an integer overflow
Fix is to address this.
Change-Id: Ie935dd8823981ec260d77f5117f4ef0b0fc08f60
Signed-off-by: Ramireddy KrishnaKanth Reddy <quic_ramikris@quicinc.com>
Android 14.0.0 release 0.108
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZoRo0AAKCRDorT+BmrEO
# eDhKAJ9x3VBC6ndXvu6xHW8xlFV5BLZh5QCffUMjA6J90zqu7Gs8aXJdaieexXw=
# =Ck4b
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jul 2 23:53:36 2024 EEST
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2576 signatures in the past
# 2 years. Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By Nick Chung
# Via Pindar Yang (1) and Sam Chang (1)
* tag 'android-14.0.0_r0.108':
Fix multiple dmabuf kernel address UAF vulnerabilities
Change-Id: I893ce56bdd7418a32a8c114ef159dc37e4478d56
Android 14.0.0 release 0.78
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZjqGvQAKCRDorT+BmrEO
# eDgUAKCJ8+kmt3IncVhZtPS/0iY4ibuFEgCeKjWB8KIRqaBjbGfeMeRvRZsN2x4=
# =mis9
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue May 7 22:53:33 2024 EEST
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2437 signatures in the past
# 2 years. Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By vincenttew
# Via Vincent Tew
* tag 'android-14.0.0_r0.78':
dsp: add protection to prevent OOB for tas
Change-Id: Id81b53c50492aab8b46c8f04447b562e2f1f1d39
Android 14.0.0 release 0.58
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZgDwAKCRDorT+BmrEO
# eOuNAJsEondpMvD5Sx5md/gc7YzVSJvV+wCdEcTRJXMFfDNG8za/f8iPHuO9lGw=
# =q75V
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 5 01:58:07 2024 EET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2419 signatures in the past
# 2 years. Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By Bubble Fang
# Via Bubble Fang
* tag 'android-14.0.0_r0.58':
ASoC: msm-lsm-client: Integer overflow check
dsp: q6asm: Add check for ADSP payload size
ASoC: msm-audio-effects-q6-v2: Add BPF order check
Change-Id: I2260c183f2e5ece6725ebe118aeace0c4c4eddf7
Android 14.0.0 release 0.32
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZZhTCAAKCRDorT+BmrEO
# eHZeAJ9o1TYIyE6SZLztmP3HPgrt6gnhXgCdGfczvYxTeGocXfdQ+Xuhb3rwfnw=
# =vYlU
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Jan 5 21:05:44 2024 EET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2236 signatures in the past
# 2 years. Encrypted 4 messages in the past 24 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By Bubble Fang
# Via Bubble Fang
* tag 'android-14.0.0_r0.32':
ASoC: dsp: q6core: Avoid use after free
ASoC: msm-pcm-host-voice: Check validity of session idx
dsp: q6lsm: Address use after free for mmap handle
dsp: q6afe: Add check for fbsp state
Change-Id: Iebf77705caaedc818b83a2a143054ea5cd030eb3
Android 14.0.0 Release 0.20 (UQ1A.231205.015,barbet)
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDyyQAKCRDorT+BmrEO
# eJX9AJ46HesCK7rJeV/+SJC3O8vy6VawEwCfQNGWswAC8oaSShFmSeSCb0p3aXY=
# =Hmsz
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu Dec 7 00:16:41 2023 EET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2201 signatures in the past
# 2 years. Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By Bubble Fang
# Via Bubble Fang (1) and others
* tag 'android-14.0.0_r0.20':
dsp: add lock in ion free to avoid use after free
ASoC: msm-pcm-q6-v2: Add dsp buf check
dsp: afe: Add check for num_channels
dsp: q6voice: Add buf size check for cvs cal data
dsp: asm: validate payload size before access
dsp: q6core: Avoid OOB access in q6core
ASoC: msm-pcm-host-voice: Handle OOB access in hpcm_start
dsp: afe: Add check for sidetone iir config copy size
Change-Id: I647253f2fffcaa69251f2f0a2a2ff9db7fe821da
Android 14.0.0 release 0.12
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZUnYkQAKCRDorT+BmrEO
# eH8hAJ9ERt+p6IVkrzfZJ05vQwgaIPhBrwCZAdDerIFkgMfG/asEgx2TGwAGydA=
# =Fp9+
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Nov 7 08:26:25 2023 EET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2056 signatures in the past
# 2 years. Encrypted 4 messages in the past 22 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By Nick Chung (1) and Shivakumar Malke (1)
# Via Android Partner Code Review (1) and Nick Chung (1)
* tag 'android-14.0.0_r0.12':
msm: camera: core: validation of session/device/link handle
msm: camera: smmu: Use get_file to increase ref count
Change-Id: Idebd70f6ba3512c1495a1e222d9a32eea126f1ed
Android 14.0.0 release 0.12
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZUnYkQAKCRDorT+BmrEO
# eOFTAJ9LQjptmhoLSNDFu6mDXLuaMlVVIwCfRCu7yI8w1ihMN8ABMDSqw+X/3QI=
# =f8uh
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Nov 7 08:26:25 2023 EET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2055 signatures in the past
# 2 years. Encrypted 4 messages in the past 22 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By Bubble Fang
# Via Bubble Fang
* tag 'android-14.0.0_r0.12':
dsp: q6core: validate payload size before access for AVCS
ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm copy
ASoC: msm-pcm-voip: Avoid interger underflow
Change-Id: I980e7ea2a2bf3c3c1a0184aa3070071ef6969ee3
Conversion of negative "num_modules" var value
will result in max possible unsigned int value
and hence can cause mem corruption when accessed.
Resolve this by assigning the same data type
to "num_modules" var as used in the calling fn.
Change-Id: I4c9d7215b9c7345637e1eb3a1992a41fef71c5cb
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
Support build environments where find -xtype is not supported.
This reverts commit 5081f16b3d.
Change-Id: Ibb4a9f2429bad5e0bae690f60605887f01623a16
Signed-off-by: Adam Bickett <abickett@codeaurora.org>
Due to path being inaccurate, the techpack folder was not being
compiled completely. Using techpack fixes this issue.
Change-Id: Id06927e5b4bfad0d5c8208b199d9d217abbf6306
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Signed-off-by: Adam Bickett <abickett@codeaurora.org>
Tech packages default configuration should be on.
Change-Id: I3cdf9276103f08db7130535aab1206a95a03b5a7
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
Enable tech packages to have kernel drivers that are physically
located in the kernel source tree but not present in the kernel
repository. This is done via a manifest line item to fetch a
techpackage-module into $KERNEL/techpack/$techpackage-module.
$KERNEL/techpack/Kbuild will automatically detect any
subdirectories and link them to the kernel's kbuild system.
The resulting layout of techpack within kernel source would be as
follows :-
kernel/
├── techpack/
├── Kbuild
└── stub
│ ├── Makefile
│ ├── include
│ │ └── uapi
│ │ └── Kbuild
└── stub.c
├── techpackage-module
├── Makefile
├── include
│ └── uapi
│ ├── Kbuild
$KERNEL/techpack only contains Kbuild (no Makefile) at the
toplevel and this Kbuild takes care of both compiling the
subdirectories and of exporting the needed header files therein.
The reason for having only Kbuild at the top is that Kbuild
and Makefile cannot exist together in same directory and Makefile
doesn't cater to uapi header installation.
stub is an empty techpackage-module which serves both as a sample
layout and satisfies the requirement of kernel build system, by
providing necessary buit-in.o, when no other techpackage-module has
been pulled under techpack/.
$KERNEL/techpack/techpackage-module should have a Makefile at the
top and Kbuild under $KERNEL/techpack/techpackage-module/include/uapi
directory. The uapi headers pertaining to a techpackage-module
should reside under $KERNEL/techpack/techpackage-module/include/uapi
and associated Kbuild should have necessary rules to export it.
Change-Id: I0d0ced38566907d2074831edde0934833f666eff
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
Signed-off-by: Imran Khan <kimran@codeaurora.org>
[satyap@codeaurora.org: fix trivial merge conflict and add SPDX-License-Identifier]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>