Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #72798

Bug#993689: linux-image-5.10.0-0.bpo.5-amd64-unsigned: L2CAP receive buffer overflow when using PC as LDAC sink

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#993689: linux-image-5.10.0-0.bpo.5-amd64-unsigned: L2CAP receive buffer overflow when using PC as LDAC sink
Date 2021-09-04 22:20 +0200
Message-ID <CTKiR-7Oc-1@gated-at.bofh.it> (permalink)
References <CTK9b-7KI-1@gated-at.bofh.it> <CTK9b-7KI-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Control: tags -1 + moreinfo

Hi,

On Sat, Sep 04, 2021 at 11:00:37PM +0300, kir wrote:
> Package: src:linux
> Version: 5.10.24-1~bpo10+1
> Severity: normal
> 
> Dear Maintainer,
>    * What led up to the situation?
> I installed bluealsa with LDAC sink support according to this instruction:
> https://github.com/anonymix007/libldacdec/blob/master/README.md
> The actual problem is that playback stops after a while.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> I commented out "goto drop" line in net/bluetooth/l2cap_core.c
> 
>                 if (chan->imtu < skb->len) {
>                         BT_ERR("Dropping L2CAP data: receive buffer overflow -
> chan->imtu: %d, skb->len: %d", chan->imtu, skb->len);
>                         //goto drop;
>                 }
>    * What was the outcome of this action?
> This in logs: "Bluetooth: Dropping L2CAP data: receive buffer overflow -
> chan->imtu: 672, skb->len: 673" and it finally worked
> 
>    * What outcome did you expect instead?
> I expected it to work, but this is not the proper solution.

Could you plase test this against current mainline or 5.10.62 and in
case reproducible there report it upstream? (keep this bugreport in
the loop). Buest guess to report to is (use
./scripts/get_maintainer.pl):

Marcel Holtmann <marcel@holtmann.org> (supporter:BLUETOOTH SUBSYSTEM)
Johan Hedberg <johan.hedberg@gmail.com> (supporter:BLUETOOTH SUBSYSTEM)
Luiz Augusto von Dentz <luiz.dentz@gmail.com> (supporter:BLUETOOTH SUBSYSTEM)
"David S. Miller" <davem@davemloft.net> (maintainer:NETWORKING [GENERAL])
Jakub Kicinski <kuba@kernel.org> (maintainer:NETWORKING [GENERAL])
linux-bluetooth@vger.kernel.org (open list:BLUETOOTH SUBSYSTEM)
netdev@vger.kernel.org (open list:NETWORKING [GENERAL])
linux-kernel@vger.kernel.org (open list)

Regards,
Salvatore

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#993689: linux-image-5.10.0-0.bpo.5-amd64-unsigned: L2CAP receive buffer overflow when using PC as LDAC sink kir <aaa.bbb111222@yandex.ru> - 2021-09-04 22:10 +0200
  Processed: Re: Bug#993689: linux-image-5.10.0-0.bpo.5-amd64-unsigned:  L2CAP receive buffer overflow when using PC as LDAC sink "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-09-04 22:20 +0200
  Bug#993689: linux-image-5.10.0-0.bpo.5-amd64-unsigned: L2CAP receive buffer overflow when using PC as LDAC sink Salvatore Bonaccorso <carnil@debian.org> - 2021-09-04 22:20 +0200
  Bug#993689: marked as done (linux-image-5.10.0-0.bpo.5-amd64-unsigned:  L2CAP receive buffer overflow when using PC as LDAC sink) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-04-02 11:40 +0200

csiph-web