Age | Commit message (Collapse) | Author |
|
Payload size is not checked before payload access for AVCS.
Check size to avoid out-of-boundary memory access.
Bug: 295039120
Change-Id: Ie7dd953c5fc12c73c7114a11ba6e45536c888869
Signed-off-by: Bubble Fang <bubblefang@google.com>
|
|
Add check for the max hpcm_buf_node size before copy to avoid
buffer out of bounds issue.
Bug: 290061915
Change-Id: Ida4cd1b2f59a751458b10b9d53e50eb39f4e299c
Signed-off-by: Bubble Fang <bubblefang@google.com>
|
|
There is no check for voip pkt pkt_len,if it contains the
min required data. This can lead to integer underflow.
Add check for the same.
Bug: 295019252
Change-Id: I13925fc3447f18e6c37e4a4978de3fd83b812be7
Signed-off-by: Bubble Fang <bubblefang@google.com>
|
|
check for the proper param size before copying,
to avoid buffer overflow.
Bug: 290061247
Change-Id: I8f643fe49a7afde11bd52f6e9c96e2a5bcc1c369
Signed-off-by: Arnold Chuang <cchuangg@google.com>
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Bug: 272199761
Change-Id: Ic3fe2e078b1f522bf400899923341d6e732362ac
Signed-off-by: JohnnLee <johnnlee@google.com>
|
|
SBMerger: 516612970
Change-Id: I220c551142464321c68a42841b3767ccccfb777b
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Date: Fri, 6 Jan 2023 14:37:20 +0530
Subject: [PATCH] ASoC: msm-pcm-q6-v2: Add dsp buf check
Current logic copies user buf size of data
from the avail dsp buf at a given offset.
If this offset returned from DSP in READ_DONE event
goes out of bounds or is corrupted, then it can lead to
out of bounds DSP buffer access, resulting in memory fault.
Fix is to add check for this buf offset, if it is within
the buf size range.
Bug: 271880369
Note: From a4374817ccc8686f86aa708243ecda95da28e216
Test: Local test
Change-Id: I964d760a19c574f0151f00cf9aba2a9592aabc29
Signed-off-by: Bubble Fang <bubblefang@google.com>
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Change-Id: Ia5bd6362505ae2c799c07f2942fc7d7e786a5166
|
|
Current logic copies user buf size of data
from the avail dsp buf at a given offset.
If this offset returned from DSP in READ_DONE event
goes out of bounds or is corrupted, then it can lead to
out of bounds DSP buffer access, resulting in memory fault.
Fix is to add check for this buf offset, if it is within
the buf size range.
Change-Id: I7753cc6db394704dbb959477150141d42b836bef
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Bug: 261541074
Change-Id: I9afc4042670bd395febcc0906666b49ca88f044d
Signed-off-by: JohnnLee <johnnlee@google.com>
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Change-Id: I4b5bfeacc3b1799d29f54922654f330242dfc636
|
|
-> If enumeration is changed runtime, dev_num gets changed
-> so it might result in different dev_num for same device
-> between swrm_connect_port and swr_disconnect_port while powering
up and down of widget
-> This results in not emptying the port_req list, hence swrm not
going to suspend state
-> This results into adsp not going to sleep state
Change-Id: I80326a35f0cac7f7be30cbbee119a8ba247a0f76
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Bug: 253163588
Change-Id: Id8f721dfcc23ead6f4c6adc36a7b8471f3584aab
Signed-off-by: JohnnLee <johnnlee@google.com>
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Change-Id: I9fada88babca9903940b66d51ce9e94cd0c8bcf7
|
|
fix for nullptr deref issue
Change-Id: I26acf2c5c696038c6d5c64d858174b2f2c58a7d3
Signed-off-by: Shazmaan Ali <quic_shazmaan@quicinc.com>
|
|
'qcom-msm-4.19-7250' into android-msm-pixel-4.19
Bug: 223958127
Signed-off-by: JohnnLee <johnnlee@google.com>
Change-Id: I8f0ea5df66808aad098a2da633f62ede0d8cc792
|
|
Add changes to fix KW errors.
Change-Id: I87fc8bf5b2753cef6af881713637e9521389708d
Signed-off-by: Lakshman Chaluvaraju <quic_lchalu@quicinc.com>
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Bug: 210578498
Signed-off-by: JohnnLee <johnnlee@google.com>
Change-Id: I9ba8fa5ddf164cb72f578b4e2820a733ebf52516
|
|
SBMerger: 410055097
Change-Id: I779faebb5351fc3eeebd5f6c09afbb98ebfe56b1
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
Signed-off-by: Lucas Wei <lucaswei@google.com>
|
|
SBMerger: 410055097
Change-Id: Ie6dbecd41666345280346e33848e0e6b7c594071
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 410055097
Change-Id: I6652548d397f3ece7171c9818b74a787f8d7adf1
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 410055097
Change-Id: I5391cae04af7410dcc81eacfe0af07db013db78e
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 410055097
Change-Id: I4b7c4b507445afd9f5bee23ee2fb7e8f728443ef
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 410055097
Change-Id: Iab9a6c665744bb1534a4ae729feba2b43a4b850e
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Change-Id: I81665aae9d704afcbcb3a969a67245508b2e31f9
|
|
Change-Id: Iaa12e82b4f6b2ef4786dc4934d3df12b17679882
|
|
android-msm-barbet-4.19-sc-qpr1
Jan 2022.1
Bug: 204278602
Change-Id: If0896ff2c81f88271be9ac79679b62e13fac3fd9
|
|
android-msm-pixel-4.19-sc-qpr1
Jan 2022.1
Bug: 204278602
Change-Id: Id767184f62836ddb9e70edbdaadab6c2c0feab31
|
|
Add check to return if session id is invalid.
From 28a5f166422bf0b8b91dc348d02e62212ee0b261 Mon Sep 17 00:00:00 2001
From: Lakshman Chaluvaraju <lchalu@codeaurora.org>
Date: Tue, 8 Jun 2021 10:43:20 +0530
Bug: 190503256
Signed-off-by: Bubble Fang <bubblefang@google.com>
Change-Id: I2833f375e7c971d2006de3d0c3d0a05ccf535111
(cherry picked from commit 43667cf179dda119cb8e6224fff04511c4c0045d)
|
|
EAR PA short switch is not released after
PA is turned on and off.
Address this hardware issue by updating the
EAR PA CnP FSM while EAR power down sequence.
Change-Id: If4269c30c13572db1b252f223368d444b9250901
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
|
|
Add check to return if session id is invalid.
From 28a5f166422bf0b8b91dc348d02e62212ee0b261 Mon Sep 17 00:00:00 2001
From: Lakshman Chaluvaraju <lchalu@codeaurora.org>
Date: Tue, 8 Jun 2021 10:43:20 +0530
Bug: 190503256
Signed-off-by: Bubble Fang <bubblefang@google.com>
Change-Id: I2833f375e7c971d2006de3d0c3d0a05ccf535111
|
|
Add check to return if session id is invalid.
Change-Id: Ida0e07b78657102a3bf6e73a1ca23c44ad112426
Signed-off-by: Lakshman Chaluvaraju <lchalu@codeaurora.org>
|
|
|
|
use realtime codec_dai name to correct hw parameter flow
because the config will mixed up CIRRUS and TI flow.
Bug: 194766973
Test: build pass, playback/record pass on affected device
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I948643d976108876fa363972714d31fc10a22c08
|
|
Bug: 194667419
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I6ce5a4180292b85b304d1efe6440e4f52c37e93f
|
|
In afe_set_cal_sp_th_vi_cfg and afe_get_cal_sp_th_vi_param
functions, data size is not checked properly which might
lead to out of bounds access.
Add data_size check to avoid out of bounds access.
Change-Id: Ibe049300c609d0d717309bccc65cac876ac075f7
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
|
|
Add change to fix cal_data index out of bounds error.
Change-Id: I8c8e62835e496c0f35fdc09757f4206c52020727
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
|
|
Retry for soundwire slave enumeration during bootup before
EPROBE_DEFER to avoid soundcard enumeration failures.
Change-Id: I083ec76fc84a2b367f93a2dc166a1419a75ff8b4
Signed-off-by: Shashi Kant Maurya <smaury@codeaurora.org>
|
|
Bug: 187909050
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I5355253bce3b7c945ea75f94f24d22ec601dacf5
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Conflicts:
dsp/q6adm.c
dsp/rtac.c
include/dsp/q6adm-v2.h
Bug: 187909050
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I9261f1c48a33410da347a0ed29da4b93d4ec0ec9
|
|
Enable interrupt request only when the interrupt is
in disabled state.
Bug: 187655844
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I18d32113be7b81d5ea120bd7fd696474efd5229d
|
|
In-order reduce the power down and hence to improve
audio-server restart time following time optimization is done.
1. Add common delay after both Amp is powered down.
a. Use 16ms instead of 20ms
2. Remove extra delay added in tas256x_set_power_shutdown()
3. Use usleep_range() instead of msleep for less than 20ms in
power up/down related functions.
Bug: 171941028
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I9d169b73f140c0b6b65d4f035193e3f687624aaa
|
|
Change-Id: Ia2fddd6b1983f7a496fdb494397016638e661623
Signed-off-by: Lucas Wei <lucaswei@google.com>
|
|
android-msm-barbet-4.19-rvc
Aug 2021.1
Bug: 189715888
Bug: 189715042
Change-Id: I3798f624b84783365dddcbeb89dc9cdafc267736
|
|
android-msm-barbet-4.19-rvc-security
Bug: 189715042
Change-Id: I48ea48ce48b6bcfd40dfb89545a64bcc5443d88c
|
|
Change-Id: I5c2d11ab5e5fd04cb4a6cef1cfe18b2877c99ff6
Signed-off-by: Lucas Wei <lucaswei@google.com>
|
|
android-msm-pixel-4.19-rvc-qpr3
Aug 2021.1
Bug: 189715888
Change-Id: Ic5e1225a3932b92943fe5fbaea2d363efd776725
|
|
qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3
Change-Id: I5401782d473b0b04922bd526d2b69e40565d7b51
|
|
Backward compatibility change to set 'feedback path cfg' to AFE_MODULE_FEEDBACK,
to support 3rd party spkr protection algorithms.
Change-Id: I9af731902fbc5bc69f130a4f30d8fc5f18ceaace
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
|
|
Conflicts:
asoc/codecs/Kbuild
dsp/q6afe.c
Bug: 184813985
Change-Id: I1ac7afebff5a637726ed6770cf4e4e3fc0fa59ac
|